83👍
✅
Nose supports the following syntax (note :
between test script name and test class name):
./manage.py test myapp.tests.test_script:MyTestCase.test_method
7👍
The correct answer is ./manage.py test myapp/tests/test_script:MyTestCase.test_method.
Using dots in the relative path did not work for me, but slashes did.
- [Django]-Equivalent of PHP "echo something; exit();" with Python/Django?
- [Django]-Disabled field is not passed through – workaround needed
- [Django]-Problems with contenttypes when loading a fixture in Django
Source:stackexchange.com