Commit df81db82 by sanshi

最新告警

parent 5a5ea5c5
...@@ -102,7 +102,7 @@ class TestProblemGetLatest(object): ...@@ -102,7 +102,7 @@ class TestProblemGetLatest(object):
@allure.step("断言返回结果:校验排序") @allure.step("断言返回结果:校验排序")
def check_sortfield(self, response, possible): def check_sortfield(self, response, possible):
result = UtilsResponse().get_result(response=response) result = UtilsResponse().get_result(response=response)
UtilsResponse().check_sort(_list=result, key="eventid", possible=possible) UtilsResponse().check_sort(_list=result["data"], key="eventid", possible=possible)
@allure.step("断言返回结果:校验返回数据的数量") @allure.step("断言返回结果:校验返回数据的数量")
def check_num(self, response, num): def check_num(self, response, num):
......
Markdown is supported
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