mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
change: assert_string_equals expected_value Any
This commit is contained in:
@@ -159,7 +159,7 @@ class StepRequestValidation(object):
|
||||
return self
|
||||
|
||||
def assert_string_equals(
|
||||
self, jmes_path: Text, expected_value: int, message: Text = ""
|
||||
self, jmes_path: Text, expected_value: Any, message: Text = ""
|
||||
) -> "StepRequestValidation":
|
||||
self.__step_context.validators.append(
|
||||
{"string_equals": [jmes_path, expected_value, message]}
|
||||
|
||||
Reference in New Issue
Block a user