Lines Matching refs:result
146 def is_failed(result: TestResult, ns: Namespace) -> bool:
147 if isinstance(result, EnvChanged):
149 return isinstance(result, Failed)
214 result = _runtest_inner(ns, test_name,
216 if not isinstance(result, Passed):
230 result = _runtest_inner(ns, test_name,
235 result.xml_data = [
240 result.duration_sec = time.perf_counter() - start_time
241 return result
254 Returns a TestResult sub-class depending on the kind of result received.