
笔记
msg_data
这个作者很懒,什么都没留下…
展开
-
requests接口请求失败而postman请求成功问题
requests接口请求失败而postman请求成功问题。原创 2022-09-29 16:59:24 · 3590 阅读 · 0 评论 -
cypress元素定位
cypress前端自动化中的一些元素定位方法的整理原创 2022-09-06 15:34:55 · 353 阅读 · 0 评论 -
OSError: [WinError 123] 文件名、目录名或卷标语法不正确。: ‘<frozen importlib._bootstrap>‘
OSError: [WinError 123] 文件名、目录名或卷标语法不正确。: ‘出现这种报错是因为Django中,添加的应用错误,在setting.py中,INSTALLED_APPS中注册的bootstrap错误,我使用的是bootstrap3,结果注册的是bootstrap,所以出现这个错误,修复后恢复正常...原创 2021-12-10 09:21:01 · 2986 阅读 · 0 评论 -
xmind转excel工具
def write_excel(self,xmind_file): '''生成excel文件函数''' self.module_file= xlrd.open_workbook("D:\\Users\\"+getpass.getuser()+"\\测试用例集\\模板文件夹\\测试用例模板.xls") self.new_module_file = copy.copy(self.module_file) self.sheet_index = self.new_module_fil原创 2021-09-01 18:57:58 · 687 阅读 · 0 评论 -
python生成100以内随机奇数并用列表输出
python生成100以内随机奇数并用列表输出import randomlist = []i = 0while i <= 1000: t = random.randrange(0,100) x = t%2 if x > 0: i = i + 1 list.append(t) if i == 1000: print("列表list=",list) ...原创 2021-08-17 18:20:15 · 7996 阅读 · 0 评论