fix: update test imports from auth to auth_service
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 1m42s
Run Tests / Backend Tests (push) Has started running
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled

This commit is contained in:
Gan, Jimmy
2026-04-02 09:12:48 +08:00
parent a4782ecb1c
commit e1fc23981f
5 changed files with 9 additions and 9 deletions
@@ -80,7 +80,7 @@ class TestFileUpload:
def test_upload_as_member_forbidden(self, test_app, mock_config, temp_auth_file, temp_rbac_file):
"""Test that non-admin cannot upload."""
from auth import create_access_token
from auth_service import create_access_token
from datetime import timedelta
member_token = create_access_token(
@@ -130,7 +130,7 @@ class TestFileDelete:
def test_delete_as_member_forbidden(self, test_app, mock_config, temp_auth_file, temp_rbac_file):
"""Test that non-admin cannot delete."""
from auth import create_access_token
from auth_service import create_access_token
from datetime import timedelta
member_token = create_access_token(