summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2014-10-26 18:30:58 +0100
committerClaude Paroz <claude@2xlibre.net>2015-01-02 15:37:10 +0100
commit2a9c4b4901d385f68a2c3f9cf98b7a776c2976f0 (patch)
tree5246c78143831d867337626a59d6d292ab928c36 /tests
parent285bd02c921d3ba731c74a2f5eca278c7941ac5c (diff)
Passed around the state between migrations
Refs #23745.
Diffstat (limited to 'tests')
-rw-r--r--tests/migrations/test_executor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/migrations/test_executor.py b/tests/migrations/test_executor.py
index d21dc69472..3a7a779f8c 100644
--- a/tests/migrations/test_executor.py
+++ b/tests/migrations/test_executor.py
@@ -223,7 +223,7 @@ class ExecutorTests(MigrationTestBase):
global_apps.get_app_config("migrations").models["author"] = migrations_apps.get_model("migrations", "author")
try:
migration = executor.loader.get_migration("auth", "0001_initial")
- self.assertEqual(executor.detect_soft_applied(migration), True)
+ self.assertEqual(executor.detect_soft_applied(None, migration), True)
finally:
connection.introspection.table_names = old_table_names
del global_apps.get_app_config("migrations").models["author"]