Skip to content

Commit 0b22074

Browse files
committed
tweak unittest to illustrate wemake-services#503 bug
1 parent 1d3fbbe commit 0b22074

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_contrib/test_unittest_case/test_unittest_case.py

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ class TestDirectMigration(MigratorTestCase):
88
migrate_from = ('main_app', '0002_someitem_is_clean')
99
migrate_to = ('main_app', '0003_update_is_clean')
1010

11+
@classmethod
12+
def setUpClass(cls):
13+
# added to trigger #503
14+
return super().setUpClass()
15+
1116
def prepare(self):
1217
"""Prepare some data before the migration."""
1318
SomeItem = self.old_state.apps.get_model('main_app', 'SomeItem')

0 commit comments

Comments
 (0)