codewars UnitTest

class codewars.unittest.Test(debug=False)[source]
addTest(test=None)[source]

Add a unit test class with this function if needed preferably add the tests hard coded in the __init__ class.

run()[source]

Runs all tests added to the test suite.

Returns

Description of the test results

Return type

Results