Hid Django installation message when verbosity is 0.

This message was introduced to help people figure out quickly when they
aren't running the tests against the copy of Django they're editing.
There's no reason to display it when verbosity is set to 0. It defaults
to 1.
This commit is contained in:
Aymeric Augustin 2015-02-06 12:32:03 +01:00
parent 607af78bb8
commit d39073b8ae
1 changed files with 2 additions and 1 deletions

View File

@ -89,6 +89,7 @@ def get_installed():
def setup(verbosity, test_labels):
if verbosity >= 1:
print("Testing against Django installed in '%s'" % os.path.dirname(django.__file__))
# Force declaring available_apps in TransactionTestCase for faster tests.