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
a4395841
Commit
a4395841
authored
Dec 19, 2019
by
sanshi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资产类型
parent
e3ae33fe
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
test_hosttype_create.py
WorkCase/APP/HostType/test_hosttype_create.py
+1
-1
test_hosttype_delete.py
WorkCase/APP/HostType/test_hosttype_delete.py
+1
-1
test_hosttype_get.py
WorkCase/APP/HostType/test_hosttype_get.py
+2
-2
test_hosttype_list.py
WorkCase/APP/HostType/test_hosttype_list.py
+1
-1
test_hosttype_tree.py
WorkCase/APP/HostType/test_hosttype_tree.py
+1
-1
test_hosttype_update.py
WorkCase/APP/HostType/test_hosttype_update.py
+1
-1
No files found.
WorkCase/APP/HostType/test_hosttype_create.py
View file @
a4395841
...
@@ -23,7 +23,7 @@ import allure
...
@@ -23,7 +23,7 @@ import allure
@allure.feature
(
"测试模块:hosttype.create"
)
@allure.feature
(
"测试模块:hosttype.create"
)
class
TestHostTypeCreate
(
object
):
class
TestHostTypeCreate
(
object
):
log
=
UtilsLog
()
log
=
UtilsLog
()
env
=
CaseBase
()
.
app_environmen
t
env
=
CaseBase
()
.
environment_tes
t
host
=
env
[
"host"
]
host
=
env
[
"host"
]
db_url
=
env
[
"db_url"
]
db_url
=
env
[
"db_url"
]
db_port
=
env
[
"db_port"
]
db_port
=
env
[
"db_port"
]
...
...
WorkCase/APP/HostType/test_hosttype_delete.py
View file @
a4395841
...
@@ -24,7 +24,7 @@ import allure
...
@@ -24,7 +24,7 @@ import allure
@allure.feature
(
"测试模块:hosttype.delete"
)
@allure.feature
(
"测试模块:hosttype.delete"
)
class
TestHostTypeDelete
(
object
):
class
TestHostTypeDelete
(
object
):
log
=
UtilsLog
()
log
=
UtilsLog
()
env
=
CaseBase
()
.
app_environmen
t
env
=
CaseBase
()
.
environment_tes
t
host
=
env
[
"host"
]
host
=
env
[
"host"
]
db_url
=
env
[
"db_url"
]
db_url
=
env
[
"db_url"
]
db_port
=
env
[
"db_port"
]
db_port
=
env
[
"db_port"
]
...
...
WorkCase/APP/HostType/test_hosttype_get.py
View file @
a4395841
...
@@ -24,7 +24,7 @@ import allure
...
@@ -24,7 +24,7 @@ import allure
@allure.feature
(
"测试模块:hosttype.get"
)
@allure.feature
(
"测试模块:hosttype.get"
)
class
TestHostTypeGet
(
object
):
class
TestHostTypeGet
(
object
):
log
=
UtilsLog
()
log
=
UtilsLog
()
env
=
CaseBase
()
.
app_environmen
t
env
=
CaseBase
()
.
environment_tes
t
host
=
env
[
"host"
]
host
=
env
[
"host"
]
db_url
=
env
[
"db_url"
]
db_url
=
env
[
"db_url"
]
db_port
=
env
[
"db_port"
]
db_port
=
env
[
"db_port"
]
...
@@ -156,7 +156,7 @@ class TestHostTypeGet(object):
...
@@ -156,7 +156,7 @@ class TestHostTypeGet(object):
@allure.story
(
"查询设备类型:description成功查询"
)
@allure.story
(
"查询设备类型:description成功查询"
)
def
test_case_08
(
self
):
def
test_case_08
(
self
):
title
=
self
.
base_title
+
"08"
title
=
self
.
base_title
+
"08"
self
.
app
.
case_create_hostType
(
title
=
title
,
parentId
=
0
,
description
=
None
)
self
.
app
.
case_create_hostType
(
title
=
title
,
parentId
=
0
,
description
=
"description"
)
response
=
self
.
app
.
hostType_get
(
token
=
self
.
token
,
description
=
"description"
)
response
=
self
.
app
.
hostType_get
(
token
=
self
.
token
,
description
=
"description"
)
self
.
app
.
check_code
(
response
=
response
,
code
=
0
)
self
.
app
.
check_code
(
response
=
response
,
code
=
0
)
...
...
WorkCase/APP/HostType/test_hosttype_list.py
View file @
a4395841
...
@@ -26,7 +26,7 @@ import allure
...
@@ -26,7 +26,7 @@ import allure
@allure.feature
(
"测试模块:hosttype.list"
)
@allure.feature
(
"测试模块:hosttype.list"
)
class
TestHostTypeList
(
object
):
class
TestHostTypeList
(
object
):
log
=
UtilsLog
()
log
=
UtilsLog
()
env
=
CaseBase
()
.
app_environmen
t
env
=
CaseBase
()
.
environment_tes
t
host
=
env
[
"host"
]
host
=
env
[
"host"
]
db_url
=
env
[
"db_url"
]
db_url
=
env
[
"db_url"
]
db_port
=
env
[
"db_port"
]
db_port
=
env
[
"db_port"
]
...
...
WorkCase/APP/HostType/test_hosttype_tree.py
View file @
a4395841
...
@@ -26,7 +26,7 @@ import allure
...
@@ -26,7 +26,7 @@ import allure
@allure.feature
(
"测试模块:hosttype.tree"
)
@allure.feature
(
"测试模块:hosttype.tree"
)
class
TestHostTypeTree
(
object
):
class
TestHostTypeTree
(
object
):
log
=
UtilsLog
()
log
=
UtilsLog
()
env
=
CaseBase
()
.
app_environmen
t
env
=
CaseBase
()
.
environment_tes
t
host
=
env
[
"host"
]
host
=
env
[
"host"
]
db_url
=
env
[
"db_url"
]
db_url
=
env
[
"db_url"
]
db_port
=
env
[
"db_port"
]
db_port
=
env
[
"db_port"
]
...
...
WorkCase/APP/HostType/test_hosttype_update.py
View file @
a4395841
...
@@ -24,7 +24,7 @@ import allure
...
@@ -24,7 +24,7 @@ import allure
@allure.feature
(
"测试模块:hosttype.update"
)
@allure.feature
(
"测试模块:hosttype.update"
)
class
TestHostTypeUpdate
(
object
):
class
TestHostTypeUpdate
(
object
):
log
=
UtilsLog
()
log
=
UtilsLog
()
env
=
CaseBase
()
.
app_environmen
t
env
=
CaseBase
()
.
environment_tes
t
host
=
env
[
"host"
]
host
=
env
[
"host"
]
db_url
=
env
[
"db_url"
]
db_url
=
env
[
"db_url"
]
db_port
=
env
[
"db_port"
]
db_port
=
env
[
"db_port"
]
...
...
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