Exemplo n.º 1
0
 def test_35_api_78dk_platform_cm_base_legal_viewLegalPerson_fial(self):
     """
     查询法人代表根据渠道uuid
     :return:
     """
     res = json.loads(PlatformAction.test_api_78dk_platform_cm_base_legal_viewLegalPersonByChannel(''))
     Assertion.verity(res['code'], '20000')
     Assertion.verity(res['msg'], '您提交的参数异常')
Exemplo n.º 2
0
 def test_03_api_78dk_platform_cm_base_legal_viewLegalPerson(self):
     """
     查询法人代表根据渠道uuid
     :return:
     """
     res = json.loads(PlatformAction.test_api_78dk_platform_cm_base_legal_viewLegalPersonByChannel(channelid))
     Assertion.verity(res['code'], '10000')
     Assertion.verity(res['msg'], '成功')
     Assertion.verityContain(res['data'], 'channelOrMerchantUuid')
     Assertion.verityContain(res['data'], 'legalPersonUuid')
     global legal_person_uuid
     legal_person_uuid = res['data']['legalPersonUuid']
     global channelOrMerchantUuid
     channelOrMerchantUuid = res['data']['channelOrMerchantUuid']