mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
bugfix: add variable
This commit is contained in:
@@ -267,7 +267,10 @@ class Runner(object):
|
||||
output = {}
|
||||
for variable in output_variables_list:
|
||||
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
|
||||
|
||||
output[variable] = variables_mapping[variable]
|
||||
|
||||
Reference in New Issue
Block a user