Skip to content

Commit

Permalink
Made TracDBCreateDatabaseMixin compatible with setUpTestData
Browse files Browse the repository at this point in the history
  • Loading branch information
bmispelon committed Oct 26, 2024
1 parent a2ff929 commit dff3eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracdb/testutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ class TracDBCreateDatabaseMixin:

@classmethod
def setUpClass(cls):
super().setUpClass()
with connections["trac"].schema_editor() as schema_editor:
create_db_tables_for_unmanaged_models(schema_editor)
super().setUpClass()

0 comments on commit dff3eaf

Please sign in to comment.