修改报告地址
This commit is contained in:
@@ -20,10 +20,10 @@ TEST_CASE_DIR = 'zhyy/test_case/TestCase'
|
||||
case_dir = os.path.join(project_root,TEST_CASE_DIR)
|
||||
# 报告目录
|
||||
REPORT_DIR = os.path.join(os.path.dirname(current_file_path), 'reports')
|
||||
ALLURE_RESULTS_DIR = os.path.join(REPORT_DIR, 'allure-results')
|
||||
ALLURE_REPORT_DIR = os.path.join(REPORT_DIR, 'allure-report')
|
||||
|
||||
ALLURE_RESULTS_DIR = os.path.join(project_root, 'allure-results')
|
||||
ALLURE_REPORT_DIR = os.path.join(project_root, 'allure-report')
|
||||
|
||||
print(ALLURE_REPORT_DIR)
|
||||
def ensure_dirs():
|
||||
"""确保报告目录存在"""
|
||||
os.makedirs(ALLURE_RESULTS_DIR, exist_ok=True)
|
||||
|
||||
Reference in New Issue
Block a user