Search code examples
pythondjangotestingdjango-nose

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?


Solution

  • Increasing the verbosity seems to produce desired results:

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