Arthur-Wu committed this file on 2024-11-27
This commit is contained in:
parent
d8e61f49cb
commit
142ecd85f0
@ -7,50 +7,50 @@ MarketName: 龙湖天街店
|
||||
ShoppingCartMac: 70:f7:54:07:a6:c0
|
||||
|
||||
# 2-武商会员账号
|
||||
VIPPhoneNumber:
|
||||
VIPPhoneNumber: 15923325552
|
||||
|
||||
# 3-商超、门店信息
|
||||
MarketAndStoreDetails:
|
||||
putMarketId:
|
||||
putStoreId: [""]
|
||||
putMarketId: 10010
|
||||
putStoreId: ["9010"]
|
||||
|
||||
# 4-购物袋
|
||||
ShoppingBag:
|
||||
mid:
|
||||
max:
|
||||
mid: 6942728402367
|
||||
max: 6942728402350
|
||||
|
||||
# 5-原件商品
|
||||
NormalGoods:
|
||||
goods01:
|
||||
goods02:
|
||||
goods03:
|
||||
goods01: 6954865921564
|
||||
goods02: 6907992514628
|
||||
goods03: 6928804016017
|
||||
|
||||
# 6-优惠商品
|
||||
VipGoods:
|
||||
goods01:
|
||||
goods02:
|
||||
goods03:
|
||||
goods01: 2100000845545
|
||||
goods02: 6934665092954
|
||||
goods03: 6907992300054
|
||||
|
||||
# 7-折扣商品
|
||||
SaleGoods:
|
||||
goods01:
|
||||
goods01: 2100001076863
|
||||
|
||||
# 8-促销白名单商品
|
||||
PromotionalWhitelistGoods:
|
||||
GoodsInputcode:
|
||||
GoodsInputcode: 6954865921564
|
||||
GoodsName:
|
||||
|
||||
# 9-重量放通白名单商品
|
||||
WeightToWhitelistGoods:
|
||||
GoodsInputcode:
|
||||
GoodsInputcode: 230148601000020005
|
||||
GoodsName:
|
||||
|
||||
# 10-散称计重商品
|
||||
MisspellingWeightGoods:
|
||||
GoodsInputcode:
|
||||
GoodsInputcode: 2327912000002
|
||||
GoodsName:
|
||||
|
||||
# 11-计件商品
|
||||
PieceRateGoods:
|
||||
GoodsInputcode:
|
||||
GoodsInputcode: 231172900650010005
|
||||
GoodsName:
|
||||
|
@ -24,10 +24,6 @@ class Test_CVip007(unittest.TestCase):
|
||||
allure.dynamic.description(f"描述:{data['MarketName']}-{DescName}\n")
|
||||
ymc = YMClientApi(data["ShoppingCartMac"])
|
||||
yms = YMServiceApi()
|
||||
CartMac = data["ShoppingCartMac"]
|
||||
NewStoreId = data["MarketAndStoreDetails"]["putStoreId"][0]
|
||||
yms.update_the_store_to_which_the_shopping_cart_belongs(CartMac, NewStoreId)
|
||||
time.sleep(1)
|
||||
vip_phone_num = data["VIPPhoneNumber"]
|
||||
weight_to_whitelist_goods = data["WeightToWhitelistGoods"]
|
||||
market_and_store_info = {
|
||||
|
@ -23,11 +23,6 @@ class Test_CVip008(unittest.TestCase):
|
||||
allure.dynamic.story(f'[{data['MarketName']}-场景测试] {DescName}验证')
|
||||
allure.dynamic.description(f"描述:{data['MarketName']}-{DescName}\n")
|
||||
ymc = YMClientApi(data["ShoppingCartMac"])
|
||||
yms = YMServiceApi()
|
||||
CartMac = data["ShoppingCartMac"]
|
||||
NewStoreId = data["MarketAndStoreDetails"]["putStoreId"][0]
|
||||
yms.update_the_store_to_which_the_shopping_cart_belongs(CartMac, NewStoreId)
|
||||
time.sleep(1)
|
||||
vip_phone_num = data["VIPPhoneNumber"]
|
||||
shoppingbag_mid = data["ShoppingBag"]["mid"]
|
||||
shoppingbag_max = data["ShoppingBag"]["max"]
|
||||
|
@ -23,11 +23,6 @@ class Test_CVip009(unittest.TestCase):
|
||||
allure.dynamic.story(f'[{data['MarketName']}-场景测试] {DescName}验证')
|
||||
allure.dynamic.description(f"描述:{data['MarketName']}-{DescName}\n")
|
||||
ymc = YMClientApi(data["ShoppingCartMac"])
|
||||
yms = YMServiceApi()
|
||||
CartMac = data["ShoppingCartMac"]
|
||||
NewStoreId = data["MarketAndStoreDetails"]["putStoreId"][0]
|
||||
yms.update_the_store_to_which_the_shopping_cart_belongs(CartMac, NewStoreId)
|
||||
time.sleep(1)
|
||||
vip_phone_num = data["VIPPhoneNumber"]
|
||||
goods_01 = data["NormalGoods"]['goods01']
|
||||
goods_02 = data["NormalGoods"]['goods02']
|
||||
|
@ -23,11 +23,6 @@ class Test_CVip010(unittest.TestCase):
|
||||
allure.dynamic.story(f'[{data['MarketName']}-场景测试] {DescName}验证')
|
||||
allure.dynamic.description(f"描述:{data['MarketName']}-{DescName}\n")
|
||||
ymc = YMClientApi(data["ShoppingCartMac"])
|
||||
yms = YMServiceApi()
|
||||
CartMac = data["ShoppingCartMac"]
|
||||
NewStoreId = data["MarketAndStoreDetails"]["putStoreId"][0]
|
||||
yms.update_the_store_to_which_the_shopping_cart_belongs(CartMac, NewStoreId)
|
||||
time.sleep(1)
|
||||
vip_phone_num = data["VIPPhoneNumber"]
|
||||
vip_goods_01 = data["VipGoods"]['goods01']
|
||||
vip_goods_02 = data["VipGoods"]['goods02']
|
||||
|
Loading…
x
Reference in New Issue
Block a user