integrated tests + omit unnecessary
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
import pytest
|
||||
|
||||
from service.auth.auth import CurrentUser
|
||||
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
|
||||
return current_user_service
|
||||
|
||||
@pytest.fixture
|
||||
def jwt_service()->Jwt:
|
||||
jwt_service=Jwt()
|
||||
return jwt_service
|
||||
Reference in New Issue
Block a user