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
5620ae0f
Commit
5620ae0f
authored
Jul 13, 2021
by
张慧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交退款申请case补充
parent
4c57bb48
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
test_beauty_card_refund_submit.py
...backend_case/janus_case/test_beauty_card_refund_submit.py
+3
-1
beauty_card_refund_submit.yaml
test_backend_data/janus_data/beauty_card_refund_submit.yaml
+9
-1
No files found.
test_backend_case/janus_case/test_beauty_card_refund_submit.py
View file @
5620ae0f
...
@@ -15,6 +15,8 @@ class TestBeautyCardRefundSubmit:
...
@@ -15,6 +15,8 @@ class TestBeautyCardRefundSubmit:
r
=
janus_request
()
.
beauty_card_refund_submit
(
param
[
"order_id"
],
param
[
"reason_id"
],
param
[
"reason_text"
],
r
=
janus_request
()
.
beauty_card_refund_submit
(
param
[
"order_id"
],
param
[
"reason_id"
],
param
[
"reason_text"
],
param
[
"reason_type"
])
param
[
"reason_type"
])
if
r
[
"error"
]
==
1
:
if
param
[
"reason_id"
]
==
-
1
:
assert
r
[
"message"
]
==
param
[
"assert_message"
]
if
param
[
"reason_id"
]
!=
-
1
:
assert
r
[
"message"
]
==
param
[
"assert_message"
]
assert
r
[
"message"
]
==
param
[
"assert_message"
]
test_backend_data/janus_data/beauty_card_refund_submit.yaml
View file @
5620ae0f
beauty_card_refund_submit
:
beauty_card_refund_submit
:
-
-
case
:
"
次卡-提交退款申请-
接口调用成功
case"
case
:
"
次卡-提交退款申请-
非其他原因
case"
order_id
:
"
102813852173916"
order_id
:
"
102813852173916"
reason_id
:
3
reason_id
:
3
reason_text
:
"
个人身体原因"
reason_text
:
"
个人身体原因"
reason_type
:
0
reason_type
:
0
assert_message
:
"
订单已经退款"
-
case
:
"
次卡-提交退款申请-其他原因case"
order_id
:
"
102813852173916"
reason_id
:
-1
reason_text
:
"
其他原因不得少于10个字"
reason_type
:
0
assert_message
:
"
订单已经退款"
assert_message
:
"
订单已经退款"
\ No newline at end of file
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