diff options
Diffstat (limited to 'tests/migrations/test_executor.py')
| -rw-r--r-- | tests/migrations/test_executor.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/migrations/test_executor.py b/tests/migrations/test_executor.py index 571cb3e1a2..dd6793b533 100644 --- a/tests/migrations/test_executor.py +++ b/tests/migrations/test_executor.py @@ -78,7 +78,8 @@ class ExecutorTests(MigrationTestBase): ) def test_run_with_squashed(self): """ - Tests running a squashed migration from zero (should ignore what it replaces) + Tests running a squashed migration from zero (should ignore what it + replaces) """ executor = MigrationExecutor(connection) # Check our leaf node is the squashed one @@ -351,7 +352,8 @@ class ExecutorTests(MigrationTestBase): self.assertTableExists("migrations_tribble") # Make sure that was faked self.assertIs(state["faked"], True) - # Finally, migrate forwards; this should fake-apply our initial migration + # Finally, migrate forwards; this should fake-apply our initial + # migration executor.loader.build_graph() self.assertEqual( executor.migration_plan([("migrations", "0001_initial")]), @@ -383,8 +385,8 @@ class ExecutorTests(MigrationTestBase): ) def test_custom_user(self): """ - Regression test for #22325 - references to a custom user model defined in the - same app are not resolved correctly. + Regression test for #22325 - references to a custom user model defined + in the same app are not resolved correctly. """ with isolate_lru_cache(global_apps.get_swappable_settings_name): executor = MigrationExecutor(connection) |
