예제 #1
0
 def test_5heShi_lc5(self):
     time.sleep(random.randint(1, 2))
     loginItem_hs = self.loginItems['wggly']['user']
     loginItem_hs['casestateid'] = getConstant.HSYX
     hs_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/33.png"
     hs_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/34.png"
     loginItem_hs['imgPath'] = [hs_picpath1, hs_picpath2]
     hs_res = verify(loginItem_hs).test_app_daiHeShiDetail()
     if hs_res:
         logging.info("*****5.网格管理员核实案卷完毕*****")
예제 #2
0
 def heShi(self):
     time.sleep(random.randint(1,2))
     loginItem_hs = self.loginItems['zfj']['user']
     hs_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/10.png"
     hs_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/11.png"
     loginItem_hs['oderNumber'] = self.oderNumber #工单号
     loginItem_hs['imgPath'] = [hs_picpath1,hs_picpath2]
     loginItem_hs['casestateid'] = getConstant.HSYX
     hs_res = verify(loginItem_hs).test_app_daiHeShiDetail()
     if hs_res:
         logging.info("*****5.执法局核实案卷完毕(%s)*****"%(self.oderNumber))
예제 #3
0
 def heShi(self, userItem):
     """
     #移动端apk核实案卷
     """
     time.sleep(random.randint(1, 2))
     userItem['id'] = userItem['hsfhUser']['id']
     userItem['name'] = userItem['hsfhUser']['name']
     hs_picpath1 = "E:/test/dcms/ChengGuan/testFile/img/10.png"
     hs_picpath2 = "E:/test/dcms/ChengGuan/testFile/img/11.png"
     # userItem['oderNumber'] = self.oderNumber #工单号
     userItem['imgPath'] = [hs_picpath1, hs_picpath2]
     userItem['casestateid'] = getConstant.HSYX
     hs_res = verify(userItem).test_app_daiHeShiDetail()
     if hs_res:
         logging.info("*****执法局核实案卷完毕(%s)*****" % (userItem['oderNumber']))
     return hs_res