Skip to content

Commit

Permalink
Merge pull request #125 from ecmwf-projects/fix-alembic-tests
Browse files Browse the repository at this point in the history
fix alembic tests
  • Loading branch information
malmans2 authored Aug 1, 2024
2 parents dc4d0c5 + f0bc98d commit d44202c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/test_90_entry_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,12 @@ def test_init_db(postgresql: Connection[str], mocker) -> None:
)
assert set(conn.execute(query).scalars()) == set(
database.BaseModel.metadata.tables
).union({"alembic_version_cacholote"}).union(
set(cacholote.database.Base.metadata.tables)
)
).union(
{
"alembic_version",
"alembic_version_cacholote",
}
).union(set(cacholote.database.Base.metadata.tables))
conn.close()


Expand Down

0 comments on commit d44202c

Please sign in to comment.