def test_053_api_78dk_sht_store_querymerchantaccount_storeuuid_none(self): """ 查询该商户被绑定的账号,门店uuid为空 :return: """ res = json.loads( ShtAction.test_api_78dk_sht_store_queryMerchantAccount( merchantuuid=merchant_uuid, storeuuid='')) Assertion.verity(res['msg'], '您提交的参数异常') Assertion.verity(res['code'], 'S0006')
def test_052_api_78dk_sht_store_querymerchantaccount(self): """ 查询该商户被绑定的账号 :return: """ global merchant_uuid merchant_uuid = loginAction.global_dict.get('merchantUuid') res = json.loads( ShtAction.test_api_78dk_sht_store_queryMerchantAccount( merchantuuid=merchant_uuid, storeuuid=store_uuid)) Assertion.verity(res['code'], '10000')