Made MakeMigrationsTests call proper parent method
This commit is contained in:
parent
a637ed879d
commit
00dbd02f7e
|
@ -469,14 +469,14 @@ class MakeMigrationsTests(MigrationTestBase):
|
|||
"""
|
||||
|
||||
def setUp(self):
|
||||
super(MigrationTestBase, self).setUp()
|
||||
super(MakeMigrationsTests, self).setUp()
|
||||
self._old_models = apps.app_configs['migrations'].models.copy()
|
||||
|
||||
def tearDown(self):
|
||||
apps.app_configs['migrations'].models = self._old_models
|
||||
apps.all_models['migrations'] = self._old_models
|
||||
apps.clear_cache()
|
||||
super(MigrationTestBase, self).tearDown()
|
||||
super(MakeMigrationsTests, self).tearDown()
|
||||
|
||||
def test_files_content(self):
|
||||
self.assertTableNotExists("migrations_unicodemodel")
|
||||
|
|
Loading…
Reference in New Issue