15 lines
313 B
Python
15 lines
313 B
Python
import pytest
|
|
|
|
from src.service.auth.auth import CurrentUser
|
|
from src.service.auth.jwt import Jwt
|
|
|
|
|
|
@pytest.fixture
|
|
def current_user_service()->CurrentUser:
|
|
current_user_service=CurrentUser()
|
|
return current_user_service
|
|
|
|
@pytest.fixture
|
|
def jwt_service()->Jwt:
|
|
jwt_service=Jwt()
|
|
return jwt_service |