Changed the test runner to use the verbosity set on the command line when loading fixtures.

- Legacy-Id: 12446
This commit is contained in:
Henrik Levkowetz 2016-12-05 12:56:53 +00:00
parent cfd898b767
commit b897519fff

View file

@ -84,7 +84,7 @@ def safe_create_1(self, verbosity, *args, **kwargs):
if settings.GLOBAL_TEST_FIXTURES:
print " Loading global test fixtures: %s" % ", ".join(settings.GLOBAL_TEST_FIXTURES)
loadable = [f for f in settings.GLOBAL_TEST_FIXTURES if "." not in f]
call_command('loaddata', *loadable, verbosity=0, commit=False, database="default")
call_command('loaddata', *loadable, verbosity=verbosity, commit=False, database="default")
for f in settings.GLOBAL_TEST_FIXTURES:
if f not in loadable: