mercredi 6 avril 2016

how to use --patterns for tests in django

I have a test file with tests in it which will not be called with the regular

manage.py test

command, only when I specifically tell django to do so.

So my file lives in the same folder as tests.py and its name is test_blub.py

I tried it with

manage.py test --pattern="test_*.py"

Any idea?

Aucun commentaire:

Enregistrer un commentaire