diff --git a/tests/test_strategy_catalog_postgres_integration.py b/tests/test_strategy_catalog_postgres_integration.py index 6dadedc..a4bc21a 100644 --- a/tests/test_strategy_catalog_postgres_integration.py +++ b/tests/test_strategy_catalog_postgres_integration.py @@ -289,7 +289,7 @@ def test_alembic_upgrade_is_repeatable_on_fresh_postgres_database() -> None: ) for _ in range(2): subprocess.run( - [str(_ROOT / ".venv/bin/python"), "-m", "alembic", "upgrade", "head"], + [str(_ROOT / ".venv/bin/pfhub"), "migrate-db"], cwd=_ROOT, env=env, check=True,