summaryrefslogtreecommitdiff
path: root/tests/migrations/test_loader.py
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-04 08:08:27 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-07 20:37:05 +0100
commit7119f40c9881666b6f9b5cf7df09ee1d21cc8344 (patch)
treefa50869f5614295f462d9bf77fec59365c621609 /tests/migrations/test_loader.py
parent9c19aff7c7561e3a82978a272ecdaad40dda5c00 (diff)
Refs #33476 -- Refactored code to strictly match 88 characters line length.
Diffstat (limited to 'tests/migrations/test_loader.py')
-rw-r--r--tests/migrations/test_loader.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/migrations/test_loader.py b/tests/migrations/test_loader.py
index de70c4d981..847b937d5a 100644
--- a/tests/migrations/test_loader.py
+++ b/tests/migrations/test_loader.py
@@ -127,7 +127,7 @@ class LoaderTests(TestCase):
)
def test_load_unmigrated_dependency(self):
"""
- Makes sure the loader can load migrations with a dependency on an unmigrated app.
+ The loader can load migrations with a dependency on an unmigrated app.
"""
# Load and test the plan
migration_loader = MigrationLoader(connection)
@@ -430,10 +430,10 @@ class LoaderTests(TestCase):
# However, starting at 3 or 4, nonexistent migrations would be needed.
msg = (
- "Migration migrations.6_auto depends on nonexistent node ('migrations', '5_auto'). "
- "Django tried to replace migration migrations.5_auto with any of "
- "[migrations.3_squashed_5] but wasn't able to because some of the replaced "
- "migrations are already applied."
+ "Migration migrations.6_auto depends on nonexistent node "
+ "('migrations', '5_auto'). Django tried to replace migration "
+ "migrations.5_auto with any of [migrations.3_squashed_5] but wasn't able "
+ "to because some of the replaced migrations are already applied."
)
self.record_applied(recorder, "migrations", "3_auto")