Fix isolated upgrade container path
This commit is contained in:
@@ -96,6 +96,8 @@ def test_upgrade_smoke_restores_and_upgrades_only_an_isolated_database() -> None
|
||||
assert "geointel_restore_verify_" in script
|
||||
assert 'make_url(os.environ["DATABASE_URL"])' in script
|
||||
assert ".set(database=os.environ[\"TARGET_DB\"])" in script
|
||||
assert '"$CONTAINER" sh -c' in script
|
||||
assert '"$CONTAINER" sh -lc' not in script
|
||||
assert "python -m alembic upgrade head" in script
|
||||
assert "production_database_untouched" in script
|
||||
assert 'dropdb --if-exists -U "$db_user" "$TARGET_DB"' in script
|
||||
|
||||
Reference in New Issue
Block a user