D | loader.py | 38 def _make_failed_import_test(name, suiteClass): argument 41 return _make_failed_test(name, ImportError(message), suiteClass, message) 43 def _make_failed_load_tests(name, exception, suiteClass): argument 46 name, exception, suiteClass, message) 48 def _make_failed_test(methodname, exception, suiteClass, message): argument 50 return suiteClass((test,)), message 52 def _make_skipped_test(methodname, exception, suiteClass): argument 58 return suiteClass((TestClass(methodname),)) 74 suiteClass = suite.TestSuite variable in TestLoader 93 loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames)) [all …]
|