summaryrefslogtreecommitdiff
path: root/tests/migrations/test_executor.py
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2024-01-26 12:45:07 +0100
committerGitHub <noreply@github.com>2024-01-26 12:45:07 +0100
commit305757aec19c9d5111e4d76095ae0acd66163e4b (patch)
tree04aa017e66c06b3b19cb466ed4e1d73cd871523d /tests/migrations/test_executor.py
parent3f6d939c62efd967f548c27a265748cc2cc47ca5 (diff)
Applied Black's 2024 stable style.
https://github.com/psf/black/releases/tag/24.1.0
Diffstat (limited to 'tests/migrations/test_executor.py')
-rw-r--r--tests/migrations/test_executor.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/migrations/test_executor.py b/tests/migrations/test_executor.py
index 6232b44b98..571cb3e1a2 100644
--- a/tests/migrations/test_executor.py
+++ b/tests/migrations/test_executor.py
@@ -405,9 +405,9 @@ class ExecutorTests(MigrationTestBase):
migrations_apps = executor.loader.project_state(
("migrations", "0001_initial"),
).apps
- global_apps.get_app_config("migrations").models[
- "author"
- ] = migrations_apps.get_model("migrations", "author")
+ global_apps.get_app_config("migrations").models["author"] = (
+ migrations_apps.get_model("migrations", "author")
+ )
try:
migration = executor.loader.get_migration("auth", "0001_initial")
self.assertIs(executor.detect_soft_applied(None, migration)[0], True)