Run a single django test
I'm a new PyCharm user, but I've found the run single unittest command invaluable in Intellij.
However, it doesn't seem to work for a single django test when the test file isn't in tests.py.
For example, if I'm in a test method in class TestX in file:
modname.test_classname.py
And right click Run-> Test:modname.tests....
It creates a test configuration with target
modname.tests.TestX.test_method
rather than
modname.test_classname.TestX.test_method
Any way of it supporting the actual test file?
3 comments
Sort by
Date
Votes

BTW - I'm using Django 1.6.1, python 2.7.5

I'm having the same issue. Did you ever find a solution to this problem?

In 3.4 this seems to have been fixed
Please sign in to leave a comment.