I currently have a few unit tests which share a common set of tests. Here\'s an example:
import unittest class BaseTest(unittest.TestCase): def testCo
Another option is not to execute
unittest.main()
Instead of that you can use
suite = unittest.TestLoader().loadTestsFromTestCase(TestClass) unittest.TextTestRunner(verbosity=2).run(suite)
So you only execute the tests in the class TestClass
TestClass