asyncio style refactoring

This commit is contained in:
2026-08-05 14:46:10 +03:00
parent 2da58c7483
commit 5ec033a21d
16 changed files with 280 additions and 237 deletions
+5 -5
View File
@@ -1,14 +1,14 @@
import pytest
import pytest_asyncio
from src.service.auth.jwt import HashService, JwtService
@pytest.fixture
def jwt_service()->JwtService:
@pytest_asyncio.fixture
async def jwt_service()->JwtService:
jwt_service=JwtService()
return jwt_service
@pytest.fixture
def hash_service()->HashService:
@pytest_asyncio.fixture
async def hash_service()->HashService:
hash_service=HashService()
return hash_service