mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Applied Black's 2024 stable style.
https://github.com/psf/black/releases/tag/24.1.0
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user