def list_test_cases(class_):
 return _list_testloader().loadTestsFromTestCase(class_)

def list_test_cases ( class_ ) : return _list_testloader ( ) . loadTestsFromTestCase ( class_ )
return a list of testcase instances given a testcase class this is useful when you have defined test* methods on your testcase class .