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
681ae0a2
Commit
681ae0a2
authored
Jun 11, 2021
by
张慧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改支付平台传参方式-改为接口返回传参
parent
98b297df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
test_beauty_card_payment_method.py
...ackend_case/janus_case/test_beauty_card_payment_method.py
+3
-1
beauty_card_payment_method.yaml
test_backend_data/janus_data/beauty_card_payment_method.yaml
+0
-2
No files found.
test_backend_case/janus_case/test_beauty_card_payment_method.py
View file @
681ae0a2
...
...
@@ -12,7 +12,9 @@ class TestBeautyCardPaymentMethod:
@pytest.mark.parametrize
(
"param"
,
beauty_card_payment_method_data
,
ids
=
beauty_card_payment_method_case
)
def
test_beauty_card_payment_method
(
self
,
param
):
r
=
janus_request
()
.
beauty_card_payment_method
(
param
[
"payment_id"
])
payment
=
janus_request
()
.
beauty_card_order_submit
(
"12345678912"
,
"10176"
,
1
,
1
,
0
,
0
)
payment_id
=
payment
[
"data"
][
"payment_id"
]
r
=
janus_request
()
.
beauty_card_payment_method
(
payment_id
)
if
r
[
"error"
]
==
0
:
assert
r
[
"error"
]
==
param
[
"assert_error"
]
...
...
test_backend_data/janus_data/beauty_card_payment_method.yaml
View file @
681ae0a2
beauty_card_payment_method
:
-
case
:
"
次卡-支付平台接口-校验接口调用成功case"
payment_id
:
"
101670448736595"
assert_error
:
0
\ 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