diff options
| author | Attila Tovt <uran198@gmail.com> | 2016-04-02 08:22:55 +0300 |
|---|---|---|
| committer | Markus Holtermann <info@markusholtermann.eu> | 2016-04-02 10:10:38 +0200 |
| commit | 00dbd02f7ecbd369eddcb00ef138e452f84b4ae3 (patch) | |
| tree | 84dfbaf5d7888d3871104b34838b8a0d0b96a86b | |
| parent | a637ed879d5698f6dc696dfd4d84fec0507bdbdf (diff) | |
Made MakeMigrationsTests call proper parent method
| -rw-r--r-- | tests/migrations/test_commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/migrations/test_commands.py b/tests/migrations/test_commands.py index 318a39b633..c7bb2e603c 100644 --- a/tests/migrations/test_commands.py +++ b/tests/migrations/test_commands.py @@ -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") |
