Skip to content

Commit 2881afa

Browse files
refactor(tests): simplify engine creation in E2E test configuration
1 parent a386968 commit 2881afa

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/e2e/conftest.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,7 @@ async def pg_engine():
6969
if not database_url:
7070
pytest.skip("DATABASE_URL not set - skipping PostgreSQL E2E tests")
7171

72-
engine = create_async_engine(
73-
database_url,
74-
echo=False,
75-
connect_args={"timeout": CONNECTION_TIMEOUT},
76-
)
72+
engine = create_async_engine(database_url, echo=False, connect_args={"timeout": CONNECTION_TIMEOUT})
7773

7874
try:
7975
async with asyncio.timeout(CONNECTION_TIMEOUT + 2):

0 commit comments

Comments
 (0)