Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-airtest-web-cmdc
Commits
e401af5d
Commit
e401af5d
authored
Nov 17, 2023
by
liguangyu06
Browse files
用例优化
parent
cac8a0cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/cmdc_fresenius_group/验证新增名称相同套包限制.air/验证新增名称相同套包限制.py
View file @
e401af5d
...
@@ -32,8 +32,8 @@ result = json.loads(result.content)
...
@@ -32,8 +32,8 @@ result = json.loads(result.content)
# 获取套包名称
# 获取套包名称
group_name
=
result
[
"data"
][
"list"
][
0
][
"groupName"
]
#
group_name = result["data"]["list"][0]["groupName"]
print
(
group_name
)
group_name
=
"套包测试"
# 随机生成套包中商品数量
# 随机生成套包中商品数量
group_quantity
=
random
.
randint
(
3
,
9999
)
group_quantity
=
random
.
randint
(
3
,
9999
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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