MCPcopy Create free account
hub / github.com/F-Stack/f-stack / _should_be_executed

Method _should_be_executed

dpdk/dts/framework/test_suite.py:356–364  ·  view source on GitHub ↗

Check whether the test case should be executed.

(self, test_case_name: str, test_case_regex: str)

Source from the content-addressed store, hash-verified

354 return filtered_test_cases
355
356 def _should_be_executed(self, test_case_name: str, test_case_regex: str) -> bool:
357 """
358 Check whether the test case should be executed.
359 """
360 match = bool(re.match(test_case_regex, test_case_name))
361 if self._test_cases_to_run:
362 return match and test_case_name in self._test_cases_to_run
363
364 return match
365
366 def _run_test_case(
367 self, test_case_method: MethodType, test_case_result: TestCaseResult

Callers 1

_get_test_casesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected