Skip to content

Commit

Permalink
turn off check for leftover DB and archive objects
Browse files Browse the repository at this point in the history
  • Loading branch information
guynir42 committed Jul 1, 2024
1 parent d2eab6f commit c09f794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def pytest_sessionfinish(session, exitstatus):

dbsession.commit()

verify_archive_database_empty = True # set to False to avoid spurious errors at end of tests (when debugging)
verify_archive_database_empty = False # set to False to avoid spurious errors at end of tests (when debugging)

if any_objects and verify_archive_database_empty:
raise RuntimeError('There are objects in the database. Some tests are not properly cleaning up!')
Expand Down

0 comments on commit c09f794

Please sign in to comment.