[TIP] How do you run a specific Django unittest with Tox?
chrisspen at gmail.com
Sat Dec 26 11:12:31 PST 2015
I'm trying to wrap Tox around some Django unittests, and I can run all
unittests with Tox by calling:
django-admin.py test --settings=myapp.tests.settings myapp.tests.Tests
However, I'd like to run a specific test at
myapp.tests.Tests.test_somespecificthing, but I can't figure out how pass
in a custom command-line option and use that to change the command Tox runs.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the testing-in-python