w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Python unittest.TestCase object has no attribute 'runTest'

The actual test for any TestCase subclass is performed in the runTest() method. Simply change your code to:

class Test(unittest.TestCase):
    def runTest(self):
        assert(True == True)




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.