From 0325483e37dd83fc668daebc7a7dca6c365f51cc Mon Sep 17 00:00:00 2001 From: Attila Tovt Date: Sat, 2 Apr 2016 08:22:55 +0300 Subject: [PATCH] [1.9.x] Made MakeMigrationsTests call proper parent method Backport of 00dbd02f7ecbd369eddcb00ef138e452f84b4ae3 from master --- tests/migrations/test_commands.py | 4 ++-- 1 file 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")