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
f2be5e82
Commit
f2be5e82
authored
Apr 17, 2021
by
邓莹莹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交合并代码
parent
4095d8b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
base_request.py
in_common/base_request.py
+2
-1
conftest.py
test_backend_case/conftest.py
+2
-1
No files found.
in_common/base_request.py
View file @
f2be5e82
...
...
@@ -84,7 +84,8 @@ class BaseRequest:
# user_headers = req.get('headers')
# else:
# user_headers = self.read_header()
r
=
requests
.
request
(
s
=
requests
.
session
()
r
=
s
.
request
(
req
[
'method'
],
url
=
host
[
'develop_host'
][
'url'
]
+
req
[
'url'
],
params
=
req
.
get
(
'params'
),
...
...
test_backend_case/conftest.py
View file @
f2be5e82
...
...
@@ -5,6 +5,7 @@ import path_setting
@pytest.fixture
()
def
login
():
self
.
data
=
self
.
api_load
(
path_setting
.
APYAML_CONFIG
)
pass
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