MCPcopy
hub / github.com/httprunner/httprunner / assert_startswith

Method assert_startswith

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

Source from the content-addressed store, hash-verified

288 return self
289
290 def assert_startswith(
291 self, jmes_path: Text, expected_value: Text, message: Text = ""
292 ) -> "StepRequestValidation":
293 self.__step.validators.append(
294 {"startswith": [jmes_path, expected_value, message]}
295 )
296 return self
297
298 def assert_endswith(
299 self, jmes_path: Text, expected_value: Text, message: Text = ""

Callers 2

TestCaseUploadClass · 0.80
TestCaseBasicClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected