hash tests

This commit is contained in:
2026-07-28 13:31:58 +03:00
parent 7a4df2933d
commit f81ba19da4
6 changed files with 63 additions and 13 deletions

View File

@@ -1,9 +1,20 @@
import pytest
from src.service.auth.jwt import Jwt
from service.auth.auth import CurrentUser
from src.service.auth.jwt import Hashes, Jwt
@pytest.fixture
def jwt_service():
def jwt_service()->Jwt:
jwt_service=Jwt()
return jwt_service
return jwt_service
@pytest.fixture
def hash_service()->Hashes:
hash_service=Hashes()
return hash_service
@pytest.fixture
def current_user_service()->CurrentUser:
current_user_service=CurrentUser()
return current_user_service