解析excel方法删除类型提示(不向下兼容)

This commit is contained in:
caiweichao 2022-08-08 09:36:48 +08:00
parent cf6b12909c
commit 684b557b64
2 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,7 @@ class ReadExcel:
raise Exception("文件打开异常请检查!")
# 读取指定sheet页的数据放入data对象
def getSheetDatas(self, sheetName: str) -> list[dict]:
def getSheetDatas(self, sheetName: str):
allDatas = list(self.workbook[sheetName].rows)
# 测试用例表头集合
dataTitle: list = [title.value for title in allDatas[0]]

View File

@ -2,7 +2,6 @@
[![fork](https://gitee.com/by_cwc/basic-auto-test/badge/fork.svg?theme=dark)](https://gitee.com/by_cwc/basic-auto-test)
# 自动化测试框架
- 支持Python3.9+的版本,部分语法暂未对下兼容
- 使用技术 Python+Selenium3+Request+Allure2+Pytest+Jenkins+Pymysql+openpyxl
- 通用型框架已经在自己公司成功落地使用!
- 如果这个项目对你有帮助或者有启发的话麻烦多多点赞哦!