Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
InterfaceAutoTest
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TestAuto
InterfaceAutoTest
Commits
d9309b2c
Commit
d9309b2c
authored
May 20, 2021
by
fanxun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改签到
parent
5ae18cf3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
test_case/bmc/test_integral.py
+2
-1
test_case_data/bmc/bmc_integral_20210513.xlsx
+0
-0
No files found.
test_case/bmc/test_integral.py
View file @
d9309b2c
...
...
@@ -63,7 +63,7 @@ class TestIntegral():
req_data
=
inData
[
'reqData'
]
expectData
=
inData
[
'expectData'
]
headers
=
inData
[
'headers'
]
other_expected_data
=
eval
(
inData
[
'otherExpectData'
])
other_expected_data
=
inData
[
'otherExpectData'
]
res
=
request_main
(
url
=
url
,
headers
=
headers
,
method
=
method
,
data
=
req_data
,
has_token
=
False
)
if
not
test_pre_get_sign_integral
:
# 已经签到过
assert
res
[
'code'
]
==
other_expected_data
[
'code'
]
...
...
@@ -164,6 +164,7 @@ class TestIntegral():
expectData
=
inData
[
'expectData'
]
headers
=
inData
[
'headers'
]
for
task
in
test_pre_task_integral
:
if
task
[
'status'
]
==
2
and
case_num
==
'receiveIntegral001'
:
# 2表示可领取
req_data
[
'taskCode'
]
=
task
[
'taskCode'
]
break
...
...
test_case_data/bmc/bmc_integral_20210513.xlsx
View file @
d9309b2c
No preview for this file type
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