def test_39_api_78dk_platform_cm_base_clear_viewClearingAccountByChannel(self): """ 根据渠道Uid查询渠道结算 :return: """ res = PlatformAction.test_api_78dk_platform_cm_base_clear_viewClearingAccountByChannel(channelid) Assertion.verity(json.loads(res)['code'], '10000') Assertion.verity(json.loads(res)['msg'], '成功')
def test_42_api_78dk_platform_cm_base_clear_viewClearingAccountByChannel(self): """ 根据渠道id查询结算信息 :return: """ res = json.loads(PlatformAction.test_api_78dk_platform_cm_base_clear_viewClearingAccountByChannel(channelid)) Assertion.verity(res['code'], '10000') Assertion.verity(res['msg'], '成功') Assertion.verityContain(res['data'], 'clearingAccountUuid') Assertion.verity(res['data']['channelOrMerchantUuid'], channelOrMerchantUuid) global clearing_account_uuid clearing_account_uuid = res['data']['clearingAccountUuid']