Commit ea12328c by sanshi

增加断言描述

parent ae1276e3
......@@ -2,6 +2,7 @@
<dictionary name="Administrator">
<words>
<w>applicationids</w>
<w>departmentid</w>
<w>discoveryids</w>
<w>evaltype</w>
<w>eventid</w>
......
......@@ -5,6 +5,7 @@
<option name="ignoredErrors">
<list>
<option value="N803" />
<option value="N802" />
</list>
</option>
</inspection_tool>
......
......@@ -61,12 +61,12 @@ class TestHostMonitorGet(object):
api.get_response()
return api.response
@allure.step("断言返回结果")
@allure.step("断言返回结果 code")
def check_code(self, response, code):
_code = UtilsResponse().get_code(response=response)
assert _code == code
@allure.step("断言返回结果")
@allure.step("断言返回结果 data")
def check_data(self, response, key, value, is_default):
data = UtilsResponse().get_data(response=response)
for x, y in enumerate(data["list"]):
......
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