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

Method verify

dpdk/dts/framework/test_suite.py:196–198  ·  view source on GitHub ↗
(self, condition: bool, failure_description: str)

Source from the content-addressed store, hash-verified

194 return Ether(packet.build())
195
196 def verify(self, condition: bool, failure_description: str) -> None:
197 if not condition:
198 self._fail_test_case_verify(failure_description)
199
200 def _fail_test_case_verify(self, failure_description: str) -> None:
201 self._logger.debug("A test case failed, showing the last 10 commands executed on SUT:")

Calls 1

Tested by

no test coverage detected