Skip to content

Commit f675b6a

Browse files
committed
undo wrong dependency
1 parent f9765d2 commit f675b6a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/service-library/tests/aiohttp/with_postgres/test_aiopg_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import pytest
1414
import sqlalchemy as sa
1515
import sqlalchemy.exc as sa_exceptions
16-
from pytest_simcore.helpers import postgres_tools
1716
from servicelib.aiohttp.aiopg_utils import init_pg_tables, is_pg_responsive
1817
from servicelib.common_aiopg_utils import DataSourceName, create_pg_engine
1918

@@ -65,7 +64,7 @@ def test_dsn_uri_with_query(postgres_service_with_fake_data: DataSourceName):
6564

6665
# if url is wrong, these will fail
6766
metadata.create_all(sa_engine)
68-
postgres_tools.drop_all_tables(sa_engine)
67+
metadata.drop_all(sa_engine)
6968

7069
except sa_exceptions.SQLAlchemyError as ee:
7170
pytest.fail(f"Cannot connect with {uri}: {ee}")

0 commit comments

Comments
 (0)