mirror of
https://github.com/django/django.git
synced 2025-11-02 04:48:33 +00:00
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:
parent
607af78bb8
commit
d39073b8ae
1 changed files with 2 additions and 1 deletions
|
|
@ -89,7 +89,8 @@ def get_installed():
|
|||
|
||||
|
||||
def setup(verbosity, test_labels):
|
||||
print("Testing against Django installed in '%s'" % os.path.dirname(django.__file__))
|
||||
if verbosity >= 1:
|
||||
print("Testing against Django installed in '%s'" % os.path.dirname(django.__file__))
|
||||
|
||||
# Force declaring available_apps in TransactionTestCase for faster tests.
|
||||
def no_available_apps(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue