hash tests
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user