mirror of https://github.com/django/django.git
[1.8.x] Revert "Refs #24075 -- Silenced needless call_command output while running tests"
This reverts commit51dc617b21
. Backport ofbd3d796ecd
from master
This commit is contained in:
parent
b6323302e0
commit
b2b5ea88b7
|
@ -585,6 +585,6 @@ class MigrateTests(TestCase):
|
|||
INSTALLED_APPS=["django.contrib.auth", "django.contrib.contenttypes"],
|
||||
MIGRATION_MODULES={'auth': 'django.contrib.auth.migrations'},
|
||||
):
|
||||
call_command("migrate", "auth", "zero", verbosity=0)
|
||||
call_command("migrate", "auth", "zero", stdout=six.StringIO())
|
||||
finally:
|
||||
call_command("migrate", verbosity=0)
|
||||
call_command("migrate", stdout=six.StringIO())
|
||||
|
|
|
@ -255,9 +255,9 @@ class ContentTypesTests(TestCase):
|
|||
INSTALLED_APPS=["django.contrib.contenttypes"],
|
||||
MIGRATION_MODULES={'contenttypes': 'django.contrib.contenttypes.migrations'},
|
||||
):
|
||||
call_command("migrate", "contenttypes", "zero", verbosity=0)
|
||||
call_command("migrate", "contenttypes", "zero", stdout=six.StringIO())
|
||||
finally:
|
||||
call_command("migrate", verbosity=0)
|
||||
call_command("migrate", stdout=six.StringIO())
|
||||
|
||||
def test_name_deprecation(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue