Changed module name from my_auth to myauth
Changed encryption algorithm to argon2 Added unit tests
This commit is contained in:
@@ -12,9 +12,9 @@ import pytest
|
||||
from fastapi import FastAPI
|
||||
from fastapi.testclient import TestClient
|
||||
|
||||
from my_auth.api.routes import create_auth_router
|
||||
from my_auth.core.auth import AuthService
|
||||
from my_auth.exceptions import (
|
||||
from myauth.api.routes import create_auth_router
|
||||
from myauth.core.auth import AuthService
|
||||
from myauth.exceptions import (
|
||||
UserAlreadyExistsError,
|
||||
InvalidCredentialsError,
|
||||
UserNotFoundError,
|
||||
@@ -23,8 +23,8 @@ from my_auth.exceptions import (
|
||||
RevokedTokenError,
|
||||
AccountDisabledError
|
||||
)
|
||||
from my_auth.models.token import AccessTokenResponse
|
||||
from my_auth.models.user import UserInDB
|
||||
from myauth.models.token import AccessTokenResponse
|
||||
from myauth.models.user import UserInDB
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
||||
Reference in New Issue
Block a user