mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-31 05:19:38 +08:00
bugfix: skip undefined variable when parsing string content
This commit is contained in:
@@ -503,7 +503,8 @@ def parse_string_variables(content, variables_mapping, functions_mapping):
|
||||
parsed_variable_value = parse_data(
|
||||
variable_value,
|
||||
variables_mapping,
|
||||
functions_mapping
|
||||
functions_mapping,
|
||||
raise_if_variable_not_found=False
|
||||
)
|
||||
|
||||
# TODO: replace variable label from $var to {{var}}
|
||||
|
||||
Reference in New Issue
Block a user