Skip to content

Commit 1af2992

Browse files
committed
REFAC: Remove unused UnencryptedCommunityCredentials class and clean up imports
1 parent 2ba7637 commit 1af2992

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

tests/conftest.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from app.main import app
1212
from app.services.auth import hash_password
1313
from app.services.database.models.communities import Community
14+
from app.services.encryption import encrypt_email
1415

1516
# from app.main import get_db_session
1617

@@ -75,16 +76,6 @@ async def async_client(test_app: FastAPI) -> AsyncGenerator[AsyncClient, None]:
7576
yield client
7677

7778

78-
from app.services.encryption import encrypt_email
79-
80-
81-
class UnencryptedCommunityCredentials:
82-
username: str = "community_username_unencrypted"
83-
email: str = "[email protected]"
84-
password: str = "community_password_unencrypte"
85-
hashed_password: str = hash_password(password)
86-
87-
8879
class CommunityCredentials:
8980
username: str = "community_username"
9081
email: str = "[email protected]"

0 commit comments

Comments
 (0)