|
@@ -21,24 +21,21 @@ def creat_case(yaml_path):
|
|
|
|
|
|
|
|
|
@allure.epic("青春重庆")
|
|
|
-@allure.feature("青春重庆APP")
|
|
|
+@allure.feature("用户管理模块")
|
|
|
class TestAPI:
|
|
|
pass
|
|
|
|
|
|
-# data=[]
|
|
|
+
|
|
|
# for yaml_path in path:
|
|
|
# yaml_name = yaml_path.name[:-5]
|
|
|
-# print(yaml_path)
|
|
|
-# data.append(yaml_path)
|
|
|
# setattr(TestAPI, yaml_name, creat_case(yaml_path))
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-data=[]
|
|
|
+data = []
|
|
|
for yaml_path in path:
|
|
|
data.append(yaml_path)
|
|
|
data.sort()
|
|
|
for yaml_path in data:
|
|
|
- yaml_name=yaml_path.name[:-5]
|
|
|
+ yaml_name = yaml_path.name[:-5]
|
|
|
setattr(TestAPI, yaml_name, creat_case(yaml_path))
|