mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	[5.0.x] Applied Black's 2024 stable style.
https://github.com/psf/black/releases/tag/24.1.0
Backport of 305757aec1 from main
			
			
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