Lines Matching refs:tests
21 def __init__(self, tests=()):
24 self.addTests(tests)
27 return "<%s tests=%s>" % (util.strclass(self.__class__), list(self))
54 def addTests(self, tests):
55 if isinstance(tests, str):
56 raise TypeError("tests must be an iterable of tests, not a string")
57 for test in tests:
77 # Some unittest tests add non TestCase/TestSuite objects to
87 """Run the tests without collecting errors in a TestResult"""
96 When all tests have been added, the suite can be passed to a test
136 """Run the tests without collecting errors in a TestResult"""