示例#1
0
 def test_003_api_78dk_app_process_saveOrcInfo_secondkey_none(self):
     """
     保存人脸识别结果
     :return:
     """
     res = json.loads(
         AppAction.test_api_78dk_app_process_saveOrcInfo(firstkey=firstkey,
                                                         secondkey='',
                                                         thirdkey=thirdkey,
                                                         note=note,
                                                         contractuuid='',
                                                         result=0))
     Assertion.verity(res['code'], '10000')
示例#2
0
 def test_001_api_78dk_app_process_saveOrcInfo(self):
     """
     保存人脸识别结果
     :return:
     """
     global firstkey, secondkey, thirdkey, note, user_uuid
     firstkey = secondkey = thirdkey = 'base64_1560837249133.jpeg'
     note = ''
     user_uuid = loginAction.get_user_uuid()
     # firstkey, secondkey, thirdkey, note, user_uuid = xqkj_query.get_info(
     #     'Tbl_UserOcrInfo', 'first_key,second_key,third_key,note,user_uuid')
     loginAction.global_dict.set(user_uuid=user_uuid)
     res = json.loads(
         AppAction.test_api_78dk_app_process_saveOrcInfo(
             firstkey=firstkey,
             secondkey=secondkey,
             thirdkey=thirdkey,
             note=note,
             contractuuid='',
             result=1))
     Assertion.verity(res['code'], '10000')