提交 dde89eb7 编写于 作者: 泰斯特Test's avatar 泰斯特Test

[fix](backend/.../tester.py)强化get请求参数全局变量替换判断机制

上级 68d3897c
......@@ -148,7 +148,8 @@ class tester:
for key, value in test_case['presendParams'].items():
if value is not None:
get_method_params_value = common.resolve_global_var(pre_resolve_var=value,
global_var_dic=self.global_vars)
global_var_dic=self.global_vars)\
if isinstance(value, str) else value
url += '%s=%s&' % (key, get_method_params_value)
url = url[0:(len(url) - 1)]
elif 'presendParams' in test_case and isinstance(test_case['presendParams'], dict):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册