def run(self, test, progress_reporters, repeat_count, args): util.AddDirToPythonPath(util.GetUnittestDataDir()) result = TestResult(progress_reporters) result.startTestRun() try: options_for_unittests.Push(args) for _ in xrange(repeat_count): test(result) finally: options_for_unittests.Pop() result.stopTestRun() return result
def run(self, test, progress_reporters, repeat_count, args): sys.path.append(path.GetUnittestDataDir()) result = TestResult(progress_reporters) result.startTestRun() try: options_for_unittests.Push(args) for _ in xrange(repeat_count): test(result) finally: options_for_unittests.Pop() result.stopTestRun() return result
def _TearDownProcess(child, context): # pylint: disable=unused-argument options_for_unittests.Pop()
def _TearDownProcess(child, context): # pylint: disable=unused-argument # It's safe to call teardown_browser even if we did not start any browser # in any of the tests. browser_test_case.teardown_browser() options_for_unittests.Pop()
def _TearDownProcess(child, context): # pylint: disable=W0613 browser_test_case.teardown_browser() options_for_unittests.Pop()