For the following code:
import unittest class Test(unittest.TestCase): def test1(self): assert(True == True) if __name__ == \"__main__\": s
The actual test for any TestCase subclass is performed in the runTest() method. Simply change your code to:
TestCase
runTest()
class Test(unittest.TestCase): def runTest(self): assert(True == True)