summaryrefslogtreecommitdiff
path: root/tests/migrations/test_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/migrations/test_base.py')
-rw-r--r--tests/migrations/test_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/migrations/test_base.py b/tests/migrations/test_base.py
index 45c5472b0f..c4c8b1ee6c 100644
--- a/tests/migrations/test_base.py
+++ b/tests/migrations/test_base.py
@@ -24,7 +24,7 @@ class MigrationTestBase(TransactionTestCase):
def tearDown(self):
# Reset applied-migrations state.
- for db in connections:
+ for db in self.databases:
recorder = MigrationRecorder(connections[db])
recorder.migration_qs.filter(app='migrations').delete()