mirror of
https://github.com/django/django.git
synced 2025-09-28 21:14:55 +00:00
Revert "Refs #24075 -- Silenced needless call_command output while running tests"
This reverts commit 51dc617b21
.
This commit is contained in:
parent
a8f1c70dce
commit
bd3d796ecd
2 changed files with 4 additions and 4 deletions
|
@ -590,6 +590,6 @@ class MigrateTests(TestCase):
|
||||||
INSTALLED_APPS=["django.contrib.auth", "django.contrib.contenttypes"],
|
INSTALLED_APPS=["django.contrib.auth", "django.contrib.contenttypes"],
|
||||||
MIGRATION_MODULES={'auth': 'django.contrib.auth.migrations'},
|
MIGRATION_MODULES={'auth': 'django.contrib.auth.migrations'},
|
||||||
):
|
):
|
||||||
call_command("migrate", "auth", "zero", verbosity=0)
|
call_command("migrate", "auth", "zero", stdout=six.StringIO())
|
||||||
finally:
|
finally:
|
||||||
call_command("migrate", verbosity=0)
|
call_command("migrate", stdout=six.StringIO())
|
||||||
|
|
|
@ -258,9 +258,9 @@ class ContentTypesTests(TestCase):
|
||||||
INSTALLED_APPS=["django.contrib.contenttypes"],
|
INSTALLED_APPS=["django.contrib.contenttypes"],
|
||||||
MIGRATION_MODULES={'contenttypes': 'django.contrib.contenttypes.migrations'},
|
MIGRATION_MODULES={'contenttypes': 'django.contrib.contenttypes.migrations'},
|
||||||
):
|
):
|
||||||
call_command("migrate", "contenttypes", "zero", verbosity=0)
|
call_command("migrate", "contenttypes", "zero", stdout=six.StringIO())
|
||||||
finally:
|
finally:
|
||||||
call_command("migrate", verbosity=0)
|
call_command("migrate", stdout=six.StringIO())
|
||||||
|
|
||||||
def test_name_deprecation(self):
|
def test_name_deprecation(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue