def test_20_api_78dk_platform_fund_fundPackage_viewFundPackage_error(self): """ 查询资金包 :return: """ res = WebAction.test_api_78dk_platform_fund_fundPackage_viewFundPackage( '') Assertion.verity(json.loads(res)['code'], '20000') Assertion.verity(json.loads(res)['msg'], '您提交的参数异常')
def test_19_api_78dk_platform_fund_fundPackage_viewFundPackage(self): """ 查询资金包 :return: """ global fund_package_uuid fund_package_uuid = global_dict.get('fundPackageUuid') res = WebAction.test_api_78dk_platform_fund_fundPackage_viewFundPackage( fund_package_uuid) Assertion.verity(json.loads(res)['code'], '10000') Assertion.verity(json.loads(res)['msg'], '成功') Assertion.verity(json.loads(res)['data']['name'], FundPackagename) Assertion.verity(json.loads(res)['data']['fundSideName'], FundSidename) Assertion.verity( json.loads(res)['data']['fundPackageUuid'], fund_package_uuid) Assertion.verity( json.loads(res)['data']['fundSideUuid'], fundside_uuid)