def setUpClass(cls): cls.data_list = excel_to_list(os.path.join(data_path, "test_user_data.xlsx"), "approval") # 读取TestUserReg工作簿的所有数据 cls.header7 = Login.head()
def setUpClass(cls): # 整个测试类只执行一次 cls.data_list = excel_to_list( os.path.join(data_path, "test_user_data.xlsx"), "TestXiaobaiban") # 读取TestUserReg工作簿的所有数据 cls.header7 = Login.head()