Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
backend_auto
Project
Project
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
邓莹莹
backend_auto
Commits
9a0aa671
Commit
9a0aa671
authored
May 29, 2021
by
陈雪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bendiku
parent
e6f764a6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
3 deletions
+1
-3
host.yaml
host.yaml
+1
-1
base_request.py
in_common/base_request.py
+0
-1
test_service_list.py
test_doctor_case/web2_case/test_service_list.py
+0
-1
No files found.
host.yaml
View file @
9a0aa671
develop_host
:
develop_host
:
backend
:
http://backend.paas-develop.env
#
backend: http://backend.paas-develop.env
doctor
:
http://doctor.paas-develop.env
doctor
:
http://doctor.paas-develop.env
in_common/base_request.py
View file @
9a0aa671
...
@@ -102,7 +102,6 @@ class BaseRequest:
...
@@ -102,7 +102,6 @@ class BaseRequest:
json
=
req
.
get
(
'json'
),
json
=
req
.
get
(
'json'
),
# proxies={"http":"172.30.9.226:8888"}
# proxies={"http":"172.30.9.226:8888"}
)
)
print
(
r
.
url
,
88888
)
print
(
r
.
content
)
print
(
r
.
content
)
return
r
.
json
()
return
r
.
json
()
...
...
test_doctor_case/web2_case/test_service_list.py
View file @
9a0aa671
...
@@ -9,7 +9,6 @@ from in_common.base_request import BaseRequest
...
@@ -9,7 +9,6 @@ from in_common.base_request import BaseRequest
class
TestServiceList
:
class
TestServiceList
:
service_list
=
BaseRequest
()
.
api_load
(
path_setting
.
SERVICE_DATA
)
service_list
=
BaseRequest
()
.
api_load
(
path_setting
.
SERVICE_DATA
)
ServiceList_case
,
ServiceList_data
=
get_ids
(
service_list
,
"service_list"
)
ServiceList_case
,
ServiceList_data
=
get_ids
(
service_list
,
"service_list"
)
print
(
"-----"
,
service_list
)
@pytest.mark.parametrize
(
"params"
,
ServiceList_data
,
ids
=
ServiceList_case
)
@pytest.mark.parametrize
(
"params"
,
ServiceList_data
,
ids
=
ServiceList_case
)
def
test_ServiceList
(
self
,
params
):
def
test_ServiceList
(
self
,
params
):
...
...
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