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
4678a3c3
Commit
4678a3c3
authored
Jul 09, 2021
by
冯艮霞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户抽奖状态断言变更
parent
4d025e16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
test_user_status.py
test_backend_case/feed_case/test_user_status.py
+1
-1
user_status.yaml
test_backend_data/feed_data/user_status.yaml
+1
-1
No files found.
test_backend_case/feed_case/test_user_status.py
View file @
4678a3c3
...
...
@@ -14,7 +14,7 @@ class TestUserStatus:
def
test_user_status_case
(
self
,
param
):
r
=
feed_request
()
.
user_status
(
param
[
"current_city_id"
],
param
[
"id"
])
if
r
[
"error"
]
==
0
:
assert
r
[
"data"
][
"
surplus_draw_count"
]
>
param
[
"assert"
]
assert
r
[
"data"
][
"
is_regist"
]
==
param
[
"assert"
]
...
...
test_backend_data/feed_data/user_status.yaml
View file @
4678a3c3
...
...
@@ -3,7 +3,7 @@ user_status:
-
case
:
"
招募活动获取用户抽奖"
current_city_id
:
"
beijing"
assert
:
0
assert
:
true
id
:
43
...
...
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