summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Tovt <uran198@gmail.com>2016-04-02 08:22:55 +0300
committerMarkus Holtermann <info@markusholtermann.eu>2016-04-02 10:13:15 +0200
commit0325483e37dd83fc668daebc7a7dca6c365f51cc (patch)
treef7814fb96694a2f6e0631e8f4dcd5a80ccc81987
parent6200a5e52667fcc075829b7f392aa135a62f7ef8 (diff)
[1.9.x] Made MakeMigrationsTests call proper parent method
Backport of 00dbd02f7ecbd369eddcb00ef138e452f84b4ae3 from master
-rw-r--r--tests/migrations/test_commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/migrations/test_commands.py b/tests/migrations/test_commands.py
index a0b7939a24..ba05d9b63a 100644
--- a/tests/migrations/test_commands.py
+++ b/tests/migrations/test_commands.py
@@ -466,14 +466,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")