|
@@ -5,7 +5,7 @@ from pathlib import Path
|
|
|
import pytest
|
|
|
import requests
|
|
|
|
|
|
-from common.yaml_util import clear_yaml, read_testcase, read_config_yaml, write_yaml
|
|
|
+from common.yaml_util import clear_yaml, read_testcase, read_config_yaml, write_yaml, clear_out_yaml
|
|
|
|
|
|
path = Path(__file__).parent.glob("**/test_001_登录接口.yaml")
|
|
|
for yaml_path1 in path:
|
|
@@ -19,6 +19,7 @@ for yaml_path1 in path:
|
|
|
@pytest.fixture(scope="session", autouse=True)
|
|
|
def clear_yam():
|
|
|
clear_yaml()
|
|
|
+ clear_out_yaml()
|
|
|
login_system(yaml_path)
|
|
|
|
|
|
|