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
ea12328c
Commit
ea12328c
authored
Nov 20, 2019
by
sanshi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加断言描述
parent
ae1276e3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
Administrator.xml
.idea/dictionaries/Administrator.xml
+1
-0
Project_Default.xml
.idea/inspectionProfiles/Project_Default.xml
+1
-0
test_hostmonitor_get.py
WorkCase/APP/HostMonitor/test_hostmonitor_get.py
+2
-2
No files found.
.idea/dictionaries/Administrator.xml
View file @
ea12328c
...
...
@@ -2,6 +2,7 @@
<dictionary
name=
"Administrator"
>
<words>
<w>
applicationids
</w>
<w>
departmentid
</w>
<w>
discoveryids
</w>
<w>
evaltype
</w>
<w>
eventid
</w>
...
...
.idea/inspectionProfiles/Project_Default.xml
View file @
ea12328c
...
...
@@ -5,6 +5,7 @@
<option
name=
"ignoredErrors"
>
<list>
<option
value=
"N803"
/>
<option
value=
"N802"
/>
</list>
</option>
</inspection_tool>
...
...
WorkCase/APP/HostMonitor/test_hostmonitor_get.py
View file @
ea12328c
...
...
@@ -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"
]):
...
...
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