From a8d175c297ab4d05dda3e957e4fc64b261148904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Freitag?= Date: Sat, 25 Apr 2020 22:19:02 +0200 Subject: [PATCH] Disabled management commands output with verbosity 0 in test_regression_22823_unmigrated_fk_to_migrated_model. --- tests/migrations/test_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/migrations/test_commands.py b/tests/migrations/test_commands.py index 598faa787c..2ecf584622 100644 --- a/tests/migrations/test_commands.py +++ b/tests/migrations/test_commands.py @@ -779,7 +779,7 @@ class MigrateTests(MigrationTestBase): "B" was not included in the ProjectState that is used to detect soft-applied migrations (#22823). """ - call_command("migrate", "migrated_unapplied_app", stdout=io.StringIO()) + call_command('migrate', 'migrated_unapplied_app', verbosity=0) # unmigrated_app.SillyModel has a foreign key to 'migrations.Tribble', # but that model is only defined in a migration, so the global app