简体   繁体   中英

django-nose collect-only runs tests

Nose and django-nose installed, when the following is ran:

./manage.py test --collect-only

The following is output:

nosetests --collect-only --verbosity=1
Creating test database for alias 'default'...
.
----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
Destroying test database for alias 'default'...

Why is collect-only running the tests instead of outputting their names?

Increasing the verbosity seems to produce desired results:

./manage.py test --collect-only --verbosity=2

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM