def test_042_api_78dk_platform_mm_base_clear_viewClearingAccountByMerchant( self): # 查询商户结算信息 res = PlatformAction.test_api_78dk_platform_mm_base_clear_viewClearingAccountByMerchant( '') Assertion.verity(json.loads(res)['code'], '20000') Assertion.verity(json.loads(res)['msg'], '您提交的参数异常')
def test_043_api_78dk_platform_mm_base_clear_viewClearingAccountByMerchant( self): # 查询商户结算信息 res = PlatformAction.test_api_78dk_platform_mm_base_clear_viewClearingAccountByMerchant( merchant_uuid) Assertion.verity(json.loads(res)['code'], '10000') Assertion.verity(json.loads(res)['msg'], '成功') Assertion.verity( json.loads(res)['data']['channelOrMerchantUuid'], merchant_uuid) Assertion.verityContain(json.loads(res)['data'], 'clearingAccountUuid') global clearing_account_uuid clearing_account_uuid = json.loads(res)['data']['clearingAccountUuid']