20 lines
412 B
Python
20 lines
412 B
Python
import pytest
|
|
|
|
from service.auth.auth import CurrentUser
|
|
from src.service.auth.jwt import Hashes, Jwt
|
|
|
|
|
|
@pytest.fixture
|
|
def jwt_service()->Jwt:
|
|
jwt_service=Jwt()
|
|
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 |