Lines Matching defs:test
6 from unittest.test.support import LoggingResult, TestEquality
60 # "If tests is given, it must be an iterable of individual test cases
61 # or other test suites that will be used to build the suite initially"
75 # "If tests is given, it must be an iterable of individual test cases
76 # or other test suites that will be used to build the suite initially"
103 # "If tests is given, it must be an iterable of individual test cases
104 # or other test suites that will be used to build the suite initially"
131 # "Return the number of tests represented by the this test object.
141 # "Return the number of tests represented by the this test object.
149 def test(self):
156 # "Return the number of tests represented by the this test object.
169 # "Return the number of tests represented by the this test object.
191 # the test result object passed as result."
217 # the test result object passed as result."
238 def test(self): pass
240 test = Foo('test')
243 suite.addTest(test)
246 self.assertEqual(list(suite), [test])
254 def test(self): pass
256 suite_2 = unittest.TestSuite([Foo('test')])
268 # instances to this test suite."
300 # instances to this test suite."
364 test = Foo('test_nothing')
365 wref = weakref.ref(test)
370 del test