MCPcopy
hub / github.com/httprunner/httprunner / assert_contained_by

Method assert_contained_by

httprunner/step_request.py:322–328  ·  view source on GitHub ↗
(
        self, jmes_path: Text, expected_value: Any, message: Text = ""
    )

Source from the content-addressed store, hash-verified

320 return self
321
322 def assert_contained_by(
323 self, jmes_path: Text, expected_value: Any, message: Text = ""
324 ) -> "StepRequestValidation":
325 self.__step.validators.append(
326 {"contained_by": [jmes_path, expected_value, message]}
327 )
328 return self
329
330 def assert_type_match(
331 self, jmes_path: Text, expected_value: Any, message: Text = ""

Callers 1

TestCaseHooksClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected