def test_038_api_78dk_platform_mm_base_legal_viewLegalPersonByMerchant_not_uuid( self): # 根据商户Uuid查询法人信息 res = PlatformAction.test_api_78dk_platform_mm_base_legal_viewLegalPersonByMerchant( '') Assertion.verity(json.loads(res)['code'], '20000') Assertion.verity(json.loads(res)['msg'], '您提交的参数异常')
def test_039_api_78dk_platform_mm_base_legal_viewLegalPersonByMerchant( self): # 根据商户Uuid查询法人信息 res = PlatformAction.test_api_78dk_platform_mm_base_legal_viewLegalPersonByMerchant( 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'], 'legalPersonUuid') global merchantLegalPersonUuid merchantLegalPersonUuid = json.loads(res)['data']['legalPersonUuid']