def test_038_api_78dk_app_perCenter_loanDatail(self):
     """
     申请详情
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_perCenter_loanDatail(loanorderuuid=contract_uuid))
     Assertion.verity(res['code'], 'S0003')
Example #2
0
 def test_017_api_78dk_app_perCenter_loanDatail_is_null(self):
     """
     Time       :2019-08-13
     author     : 闫红
     desc       : 申请详情V1.4.0,订单uuid为空
     """
     res = AppAction.test_api_78dk_app_perCenter_loanDatail(
         loanorderuuid='')
     Assertion.verity(json.loads(res)['code'], 'S0003')
     Assertion.verityContain(json.loads(res)['msg'], '查无数据')
Example #3
0
 def test_018_api_78dk_app_perCenter_loanDatail_overlong(self):
     """
     Time       :2019-08-13
     author     : 闫红
     desc       : 申请详情V1.4.0,订单uuid为空
     """
     res = AppAction.test_api_78dk_app_perCenter_loanDatail(
         loanorderuuid=MD.words_en_lower(256))
     Assertion.verity(json.loads(res)['code'], 'S0003')
     Assertion.verityContain(json.loads(res)['msg'], '查无数据')
Example #4
0
 def test_015_api_78dk_app_perCenter_loanDatail(self):
     """
     Time       :2019-08-13
     author     : 闫红
     desc       : 申请详情V1.4.0
     """
     global loanorderuuid
     loanorderuuid = loginAction.global_dict.get('contract_uuid')
     res = AppAction.test_api_78dk_app_perCenter_loanDatail(
         loanorderuuid=loanorderuuid)
     Assertion.verity(json.loads(res)['code'], 'S0003')