def cc_test_14_createUrgencyRefund_DivManager(self): self.user_login_verify(username='******',password='******',city='suzhou') refund = RefundPage(self.driver) refund.createUrgencyRefund(Data.ur_clt_name) #self.assertEqual(my_client.search_by_fuzzy(), '需求书修改有限公司') functions.insert_img(self.driver, current_time + "__myClient_orderCreateCMP.png") refund.close()
def step_createUrgencyRefund_DivManager(context): # 创建紧急退费--分总 refund = RefundPage(context.driver) refund.createUrgencyRefund(Data.cmp_name) functions.insert_img(context.driver, "CreateUrgencyRefund_"+current_time+".png")