Arthur-Wu committed this file on 2024-11-27

This commit is contained in:
ieemoo
2024-11-27 11:03:44 +08:00
parent d8e61f49cb
commit 142ecd85f0
5 changed files with 16 additions and 35 deletions

View File

@ -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 = {

View File

@ -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"]

View File

@ -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']

View File

@ -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']