mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-27 08:47:10 +08:00
bugfix: add variable
This commit is contained in:
@@ -267,7 +267,10 @@ class Runner(object):
|
|||||||
output = {}
|
output = {}
|
||||||
for variable in output_variables_list:
|
for variable in output_variables_list:
|
||||||
if variable not in variables_mapping:
|
if variable not in variables_mapping:
|
||||||
logging.warning("variable '{}' can not be found in variables mapping, failed to ouput!")
|
logging.warning(
|
||||||
|
"variable '{}' can not be found in variables mapping, failed to ouput!"\
|
||||||
|
.format(variable)
|
||||||
|
)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
output[variable] = variables_mapping[variable]
|
output[variable] = variables_mapping[variable]
|
||||||
|
|||||||
Reference in New Issue
Block a user