摘要: #27 import_company def test_import_company(self): headers=self.headers headers["Content-Type"]="multipart/form-data; boundary WebKitFormBoundarywknEiWB8ukxAa0zz" #获取导入模版 file_home = self.import_templa 阅读全文
posted @ 2019-12-02 17:17 anobscureretreat 阅读(211) 评论(0) 推荐(0)
摘要: headers=self.headers #获取导入模版 file_home = self.import_template log.info(file_home) wb = load_workbook(filename=file_home) ws = wb['sheet1'] # 修改产废单位名称,以及备注 ws['b3'] = 'itest产废单位'+self.dic["t"] ws['s3'] 阅读全文
posted @ 2019-12-02 17:16 anobscureretreat 阅读(3639) 评论(0) 推荐(0)
摘要: pip install requests-toolbelt 阅读全文
posted @ 2019-12-02 15:44 anobscureretreat 阅读(5099) 评论(0) 推荐(0)