def test_042_api_78dk_app_process_centerCallback(self):
     """
     (回调接口)爬虫接口中心回调_正常
     :return:
     """
     AppAction.test_api_78dk_app_process_centerCallback(data='',
                                                        message='',
                                                        result='',
                                                        task_id='',
                                                        timestamp='',
                                                        type='',
                                                        user_id='')
 def test_047_api_78dk_app_process_centerCallback_(self):
     """
     (回调接口)爬虫接口中心回调_请求data为错误格式
     :return:
     """
     AppAction.test_api_78dk_app_process_centerCallback(
         data='',
         message='阿萨德',
         result='success',
         task_id='123',
         timestamp='1586760300',
         type='1',
         user_id='13')
Esempio n. 3
0
 def test_032_test_api_78dk_app_perCenter_loanData(self):
     """
     贷款资料
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_perCenter_loanData(loanorderuuid=contract_uuid))
     Assertion.verity(res['code'], '10000')
Esempio n. 4
0
 def test_001_api_78dk_app_common_queryQiNiuToken(self):
     """
     获取七牛上传token
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_common_queryQiNiuToken())
     Assertion.verity(res['code'], '10000')
Esempio n. 5
0
 def test_002_api_78dk_app_process_getBankCardInfo(self):
     """
     查询绑定的银行卡列表
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_process_getBankCardInfo())
     Assertion.verity(res['code'], '10000')
Esempio n. 6
0
 def test_001_api_78dk_app_process_getSupportBanks(self):
     """
     查询支持银行(弹窗描述)
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_process_getSupportBanks())
     Assertion.verity(res['code'], '10000')
Esempio n. 7
0
 def test_062_api_78dk_app_process_querySaList(self):
     """
     author     : 罗林
     desc       : 获取所有SA在职人员 v1.0.4
     """
     res = AppAction.test_api_78dk_app_process_querySaList()
     Assertion.verity(json.loads(res)['code'], '10000')
 def test_005_api_78dk_app_process_mxCallback(self):
     """
     (回调接口)接口中心-魔蝎
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_process_mxCallback(''))
     Assertion.verity(res['code'], '20000')
 def test_036_api_78dk_app_process_getSignUrl(self):
     """
     获取法大大签约地址
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_process_getSignUrl())
     Assertion.verity(res['code'], 'S0003')
 def test_035_api_78dk_app_process_getSignResult(self):
     """
     查询法大大签约结果
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_process_getSignResult())
     Assertion.verity(res['code'], '10000')
Esempio n. 11
0
 def test_035_test_api_78dk_app_perCenter_viewByStagesLists(self):
     """
     分期列表
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_perCenter_viewByStagesLists(pagecurrent=1, pagesize=10))
     Assertion.verity(res['code'], '10000')
Esempio n. 12
0
 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')
Esempio n. 13
0
 def test_008_api_78dk_app_common_getDictionaries_not_exits(self):
     """
     获取字典列表
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_common_getDictionaries(datumtype=fake.ean8()))
     Assertion.verity(res['code'], '10000')
Esempio n. 14
0
 def test_099_api_78dk_app_login_loginOut(self):
     """
     退出登录
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_login_loginOut())
     Assertion.verity(res['code'], '10000')
Esempio n. 15
0
 def test_048_test_api_78dk_app_common_getDictionaries_datum_type_marry(self):
     """
     获取字典列表 婚姻状况
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_common_getDictionaries(datumtype='datum_type_marry'))
     Assertion.verity(res['code'], '10000')
Esempio n. 16
0
 def test_032_api_78dk_app_bill_PaymentStatus_non(self):
     """
     desc       : 还款状态 v1.5.0, 账单Uuid为空
     author     : 罗林
     """
     res = AppAction.test_api_78dk_app_bill_paymentStatus(contractuuid='')
     Assertion.verity(json.loads(res)['code'], '10000')
Esempio n. 17
0
 def test_005_api_78dk_app_common_getCites_not_exits(self):
     """
     获取城市列表
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_common_getCites(parent=fake.ean8()))
     Assertion.verity(res['code'], '10000')
Esempio n. 18
0
 def test_007_api_78dk_app_common_getDictionaries_error(self):
     """
     获取字典列表
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_common_getDictionaries(datumtype='abc'))
     Assertion.verity(res['code'], '10000')
Esempio n. 19
0
 def test_037_api_78dk_app_perCenter_loanAgreement(self):
     """
     查看贷款协议
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_perCenter_loanAgreement(loanorderuuid=contract_uuid))
     Assertion.verity(res['code'], '10000')
Esempio n. 20
0
 def test_004_api_78dk_app_common_getCites_error(self):
     """
     获取城市列表
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_common_getCites(parent='abc'))
     Assertion.verity(res['code'], '20000')
Esempio n. 21
0
 def test_049_test_api_78dk_app_common_getDictionaries_datum_type_education(self):
     """
     获取字典列表  学历
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_common_getDictionaries(datumtype='datum_type_education'))
     Assertion.verity(res['code'], '10000')
Esempio n. 22
0
 def test_047_test_api_78dk_app_common_getDictionaries_datum_type_contact_urgent(self):
     """
     获取字典列表 紧急联系人
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_common_getDictionaries(datumtype='datum_type_contact_urgent'))
     Assertion.verity(res['code'], '10000')
Esempio n. 23
0
 def test_045_test_api_78dk_app_common_getDictionaries_datum_type_housing(self):
     """
     获取字典列表  住房类型
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_common_getDictionaries(datumtype='datum_type_housing'))
     Assertion.verity(res['code'], '10000')
Esempio n. 24
0
 def test_043_test_api_78dk_app_common_getDictionaries_datum_type_worktime(self):
     """
     获取字典列表  工作时间
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_common_getDictionaries(datumtype='datum_type_worktime'))
     Assertion.verity(res['code'], '10000')
Esempio n. 25
0
 def test_041_test_api_78dk_app_common_getDictionaries_datum_type_properties(self):
     """
     获取字典列表 单位性质
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_common_getDictionaries(datumtype='datum_type_properties'))
     Assertion.verity(res['code'], '10000')
Esempio n. 26
0
 def test_036_api_78dk_app_perCenter_renounceApplication(self):
     """
     放弃申请
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_perCenter_renounceApplication(loanorderuuid=contract_uuid))
     Assertion.verity(res['code'], 'S0003')
     Assertion.verity(res['msg'], '订单正在审核!')
Esempio n. 27
0
 def test_054_api_78dk_app_common_getDomainNamet(self):
     """
     Time       :2019-11-28
     author     : 闫红
     desc       : 获取项目域名
     """
     res = json.loads(AppAction.test_api_78dk_app_common_getDomainName())
     Assertion.verity(res['code'], '10000')
Esempio n. 28
0
 def test_053_api_78dk_app_common_queryQiNiuTokenVideo(self):
     """
     Time       :2019-11-28
     author     : 闫红
     desc       : 获取七牛视频上传token
     """
     res = json.loads(AppAction.test_api_78dk_app_common_queryQiNiuTokenVideo())
     Assertion.verity(res['code'], '10000')
Esempio n. 29
0
 def test_051_common_userInfo(self):
     """
     author     : 罗林
     desc       : 用户信息-v1.0.0
     """
     res = json.loads(AppAction.test_api_78dk_app_common_userInfo())
     Assertion.verity(res['code'], '10000')
     Assertion.verityContain(res['msg'], '成功')
Esempio n. 30
0
 def test_039_api_78dk_app_perCenter_repaymentFormLists(self):
     """
     还款计划列表
     :return:
     """
     res = json.loads(AppAction.test_api_78dk_app_perCenter_repaymentFormLists(
         paraminfo=contract_uuid, pagecurrent=1, pagesize=10))
     Assertion.verity(res['code'], '10000')