feature/docker #1

Merged
MH.Dmitrii merged 29 commits from feature/docker into main 2026-08-13 16:32:02 +00:00
3 changed files with 14 additions and 24 deletions
Showing only changes of commit 3705ac4f0c - Show all commits
+14
View File
@@ -0,0 +1,14 @@
import pytest
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
-11
View File
@@ -2,7 +2,6 @@ import pytest
from fastapi import Request
from src.service.auth.auth import CurrentUser
from src.service.auth.jwt import Hashes, Jwt
@pytest.fixture
@@ -10,16 +9,6 @@ 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
@pytest.fixture
def hash_service()->Hashes:
hash_service=Hashes()
return hash_service
@pytest.fixture
def requests(mocker):
fake_request = mocker.MagicMock(spec=Request)
-13
View File
@@ -1,15 +1,2 @@
import pytest
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