Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zmops-test
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sanshi
zmops-test
Commits
df81db82
Commit
df81db82
authored
Nov 28, 2019
by
sanshi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
最新告警
parent
5a5ea5c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test_problem_getLatest.py
WorkCase/API/Problem/test_problem_getLatest.py
+1
-1
No files found.
WorkCase/API/Problem/test_problem_getLatest.py
View file @
df81db82
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment