1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Disabled management commands output with verbosity 0 in test_regression_22823_unmigrated_fk_to_migrated_model.

This commit is contained in:
François Freitag 2020-04-25 22:19:02 +02:00 committed by Mariusz Felisiak
parent d6db186427
commit a8d175c297

View File

@ -779,7 +779,7 @@ class MigrateTests(MigrationTestBase):
"B" was not included in the ProjectState that is used to detect "B" was not included in the ProjectState that is used to detect
soft-applied migrations (#22823). 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', # unmigrated_app.SillyModel has a foreign key to 'migrations.Tribble',
# but that model is only defined in a migration, so the global app # but that model is only defined in a migration, so the global app