Lines Matching full:suite
51 def do_fork(suite): argument
52 """Take suite and start up multiple runners by forking (Unix only).
54 :param suite: TestSuite object.
60 test_blocks = partition_tests(suite, concurrency_num)
61 # Clear the tests from the original suite so it doesn't keep them alive
62 suite._tests[:] = []
65 # Also clear each split list so new suite has only reference
102 def partition_tests(suite, count): argument
103 """Partition suite into count lists of tests."""
110 tests = iterate_tests(suite)
135 suite = unittest.TestLoader().loadTestsFromTestCase(SampleTestCase) variable
139 runner.run(suite)
142 suite = unittest.TestLoader().loadTestsFromTestCase(SampleTestCase) variable
143 concurrent_suite = ConcurrentTestSuite(suite, fork_for_tests(4))