Lines Matching refs:tests
118 This is a framework-internal exception that tests should not
227 # Ensure logger messages output by unit tests are redirected
643 # Setting this here should ensure that tests will make temp
1034 # tests would need to be changed if we ever changed our size
1035 # measurement and other tests should be ensuring that the number
1458 """Python 2.7 adds formal support for skipped tests in unittest
1576 # Set up the test so that it plays nicely with tests
1581 outq.put(("START", find_names(test_suite.tests[0]), i),
1605 ("RESULT", find_names(test_suite.tests[0]), i, otw),
1783 """Given the running and unfinished tests, estimate the amount
1784 of time remaining before the remaining tests finish."""
1798 # Some tests have been running for a while, adjust the
1836 "classes:{1} Running tests:{2}".format(
1839 print("Total tests:{0} Tests run:{1} "
1920 if not t.tests:
1922 mod, c = find_names(t.tests[0])
1923 for test in t.tests:
1937 total_tests += len(t.tests)
1938 test_map[(mod, c)] = t.tests
2048 "in {2:>.3f}s - skipped {3:d} tests.\n".format(
2055 "tests:\n")
2088 tests. Persistent tests are ones that are able to only call their
2098 def __init__(self, tests=()):
2099 unittest.TestSuite.__init__(self, tests)
2117 print("Stopping tests...", file=sys.stderr)
2128 # No tests; that's ok.
2133 # changed which can can cause tests to succeed when they should
2259 def tests(self):
2830 # Various tests rely on the
3721 "tests to fail.".format(name))
4328 # image to force failure of tests that don't
4490 # other tests to fail. We don't allow that to happen.