I have a test case:
class LoginTestCase(unittest.TestCase): ...
I\'d like to use it in a different test case:
class Edi
Here's some 'deep black magic':
suite = unittest.TestLoader().loadTestsFromTestCase(Test_MyTests) unittest.TextTestRunner(verbosity=3).run(suite)
Very handy if you just want to test run your unit tests from a shell (i.e., IPython).