Commit c3acdd56 authored by liguangyu06's avatar liguangyu06
Browse files

用例优化

parent d8809a1b
...@@ -38,6 +38,7 @@ api_time = float(result.elapsed.total_seconds()) ...@@ -38,6 +38,7 @@ api_time = float(result.elapsed.total_seconds())
# 将接口响应时间添加至result # 将接口响应时间添加至result
result = json.loads(result.content) result = json.loads(result.content)
print(result)
result["api_time"] = api_time result["api_time"] = api_time
# 获取预期结果 # 获取预期结果
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment