Skip to content

Commit

Permalink
Prevent tests from writing alembic.ini at project root.
Browse files Browse the repository at this point in the history
  • Loading branch information
aholmes committed Sep 27, 2024
1 parent 09dea6f commit 8e525d5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def test__LigareAlembic__passes_through_to_alembic_with_default_config_when_not_
)

ligare_alembic = LigareAlembic(None, MagicMock())
ligare_alembic._write_ligare_alembic_config = MagicMock()
ligare_alembic.run()

assert alembic_main.called
Expand Down

0 comments on commit 8e525d5

Please sign in to comment.