示例#1
0
 def test_038_app_bill_getMyBill_contractuuid_not_exites(self):
     """
     desc       : 我的账单v1.0.0
     author     : 罗林
     """
     res = AppAction.test_api_78dk_app_bill_getMyBill(
         billdate='1574956800', contractuuid=MD.uuid_random())
     Assertion.verity(json.loads(res)['code'], '10000')
示例#2
0
 def test_021_api_78dk_platform_sa_querySaLog(self):
     """
     SA操作日志
     :return:
     """
     sa_uuid = MockData.uuid_random(256)
     res = json.loads(
         WebAction.test_api_78dk_platform_sa_querySaLog(sauuid=sa_uuid))
     Assertion.verity(res['code'], '10000')
     Assertion.verityContain(res['msg'], '成功')
示例#3
0
 def test_012_api_78dk_platform_urge_member_addMemberUser_overlong(self):
     """
     Time       :2019-09-27
     author     : 闫红
     desc       :添加一个催收人员_v1.5.2,useruuid超长
     """
     useruuid = MD.uuid_random(256)
     res = json.loads(WebAction.test_api_78dk_platform_urge_user_addMemberUser(useruuid=useruuid))
     Assertion.verity(res['code'], '20000')
     Assertion.verityContain(res['msg'], '不能添加为催收人员')
 def test_031_api_78dk_platform_tm_first_queryElectronuclearRemark_overlong(
         self):
     """
     Time       :2019-07-22
     author     : 闫红
     desc       : 电核备注 - 查询接口 V1.3 新增,contract_uuid不存在
     """
     res = specialAction.test_api_78dk_platform_tm_first_queryElectronuclearRemark(
         contractuuid=MD.uuid_random(256))
     Assertion.verity(json.loads(res)['msg'], '成功')
     Assertion.verity(json.loads(res)['code'], '10000')
示例#5
0
 def test_021_api_78dk_platform_urge_updateDivisionState_overlong_disable(self):
     """
     Time       :2019-09-27
     author     : 闫红
     desc       :开始分案停止分案操作-v1.5.2,userUuid超长,停止分案
     """
     # userUuid = MD.uuid_random(256)
     res = json.loads(WebAction.test_api_78dk_platform_urge_user_updateDivisionState(
         collectionuuid=MD.uuid_random(256), divisionstate='division_disabled'))
     Assertion.verity(res['code'], '20000')
     Assertion.verityContain(res['msg'], '传入的uuid 不合法')
示例#6
0
 def test_023_api_78dk_platform_urge_updateDivisionState_overlong(self):
     """
     Time       :2019-09-27
     author     : 闫红
     desc       :开始分案停止分案操作-v1.5.2,divisionstate超长
     """
     # userUuid = loginAction.global_dict.get('userUuid')
     # divisionstate = MD.uuid_random(256)
     res = json.loads(WebAction.test_api_78dk_platform_urge_user_updateDivisionState(
         collectionuuid=userUuid, divisionstate=MD.uuid_random(256)))
     Assertion.verity(res['code'], '20000')
     Assertion.verityContain(res['msg'], '传入的uuid 不合法')