fix: add missing commas for syntax correctness across multiple files
Test / test (push) Successful in 15s

This commit is contained in:
Artem Kashaev
2025-12-01 16:19:19 +05:00
parent ed6c656963
commit 1039fba571
23 changed files with 52 additions and 52 deletions
+3 -3
View File
@@ -50,7 +50,7 @@ def jwt_service() -> JWTService:
@pytest.mark.asyncio
async def test_authenticate_success(
password_hasher: PasswordHasher, jwt_service: JWTService
password_hasher: PasswordHasher, jwt_service: JWTService,
) -> None:
hashed = password_hasher.hash("StrongPass123")
user = User(email="user@example.com", hashed_password=hashed, name="Alice", is_active=True)
@@ -103,7 +103,7 @@ async def test_refresh_tokens_returns_new_pair(
jwt_service: JWTService,
) -> None:
user = User(
email="refresh@example.com", hashed_password="hashed", name="Refresh", is_active=True
email="refresh@example.com", hashed_password="hashed", name="Refresh", is_active=True,
)
user.id = 7
service = AuthService(StubUserRepository(user), password_hasher, jwt_service)
@@ -121,7 +121,7 @@ async def test_refresh_tokens_rejects_access_token(
jwt_service: JWTService,
) -> None:
user = User(
email="refresh@example.com", hashed_password="hashed", name="Refresh", is_active=True
email="refresh@example.com", hashed_password="hashed", name="Refresh", is_active=True,
)
user.id = 9
service = AuthService(StubUserRepository(user), password_hasher, jwt_service)