Skip to content

Commit

Permalink
fix connection test
Browse files Browse the repository at this point in the history
  • Loading branch information
dmkjfs committed Dec 3, 2024
1 parent da000ed commit 3e5adec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/connections/database/test_postgres.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from src.core.config import settings
from sqlalchemy import text
from sqlalchemy.ext.asyncio import create_async_engine, async_sessionmaker

from src.core.config import settings

test_engine = create_async_engine(settings.db_url, echo=True)

sessionmaker_test = async_sessionmaker(test_engine)
Expand Down

0 comments on commit 3e5adec

Please sign in to comment.