mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-17 14:37:37 +08:00
fix: ensure pytest files are in python module, generate __init__.py on demand
This commit is contained in:
@@ -166,7 +166,9 @@ class ResponseObject(object):
|
||||
check_item = u_validator["check"]
|
||||
if "$" in check_item:
|
||||
# check_item is variable or function
|
||||
check_value = parse_data(check_item, variables_mapping, functions_mapping)
|
||||
check_value = parse_data(
|
||||
check_item, variables_mapping, functions_mapping
|
||||
)
|
||||
else:
|
||||
check_value = jmespath.search(check_item, self.resp_obj_meta)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user