requests+xls+alluer+pytest 接口自动化[数据驱动]形式
1.编写读取xls函数方法。file_utils.py#读取xlsdefpares_xls_file(filepath,sheetname):xls_sheet=xlrd.open_workbook(filepath)#r"D:\untitled\API_Project\data\驱动原件.xls"work_sheet=xls_sheet.sheet_by_name(sheetname)#'JH21207-134&#