You don't need to explicitly run the unittest module from the command
line (the -m unittest). That's the whole point of the unittest.main call
:)

$ python MyTest.py MyTestCase.testOk
.
----------------------------------------------------------------------
Ran 1 test in 0.000s

OK

-- 
unittest fails to run a single test from the command line
https://bugs.launchpad.net/bugs/399412
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to