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 fadfb3a commit 7a92b48Copy full SHA for 7a92b48
packages/pytest-simcore/src/pytest_simcore/helpers/postgres_tools.py
@@ -61,7 +61,7 @@ def migrated_pg_tables_context(
61
)
62
63
# SEE https://github.com/ITISFoundation/osparc-simcore/issues/1776
64
- metadata.drop_all(bind=postgres_engine)
+ metadata.drop_all(bind=conn)
65
66
67
def is_postgres_responsive(url) -> bool:
services/web/server/tests/unit/with_dbs/conftest.py
@@ -536,6 +536,7 @@ def postgres_db(
536
"WHERE state = 'idle in transaction';"
537
538
539
+ # SEE https://github.com/ITISFoundation/osparc-simcore/issues/1776
540
orm.metadata.drop_all(bind=conn)
541
542
engine.dispose()
0 commit comments