We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9765d2 commit f675b6aCopy full SHA for f675b6a
packages/service-library/tests/aiohttp/with_postgres/test_aiopg_utils.py
@@ -13,7 +13,6 @@
13
import pytest
14
import sqlalchemy as sa
15
import sqlalchemy.exc as sa_exceptions
16
-from pytest_simcore.helpers import postgres_tools
17
from servicelib.aiohttp.aiopg_utils import init_pg_tables, is_pg_responsive
18
from servicelib.common_aiopg_utils import DataSourceName, create_pg_engine
19
@@ -65,7 +64,7 @@ def test_dsn_uri_with_query(postgres_service_with_fake_data: DataSourceName):
65
64
66
# if url is wrong, these will fail
67
metadata.create_all(sa_engine)
68
- postgres_tools.drop_all_tables(sa_engine)
+ metadata.drop_all(sa_engine)
69
70
except sa_exceptions.SQLAlchemyError as ee:
71
pytest.fail(f"Cannot connect with {uri}: {ee}")
0 commit comments