diff options
| author | Claude Paroz <claude@2xlibre.net> | 2014-11-05 20:53:39 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2015-01-02 15:37:10 +0100 |
| commit | 1aa3e09c2043c88a760e8b73fb95dc8f1ffef50e (patch) | |
| tree | 54581914dbd6ec66f3099497381d29f161c702a1 /tests/migrations/test_executor.py | |
| parent | 2a9c4b4901d385f68a2c3f9cf98b7a776c2976f0 (diff) | |
Fixed #23745 -- Reused states as much as possible in migrations
Thanks Tim Graham and Markus Holtermann for the reviews.
Diffstat (limited to 'tests/migrations/test_executor.py')
| -rw-r--r-- | tests/migrations/test_executor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/migrations/test_executor.py b/tests/migrations/test_executor.py index 3a7a779f8c..78ee131d18 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(None, migration), True) + self.assertEqual(executor.detect_soft_applied(None, migration)[0], True) finally: connection.introspection.table_names = old_table_names del global_apps.get_app_config("migrations").models["author"] |
