From cc6733a8fb5bc34fd8995243182084d8265015ce Mon Sep 17 00:00:00 2001 From: qiaoxinjiu Date: Mon, 23 Mar 2026 19:37:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8A=A5=E5=91=8A=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zhyy/test_case/run_tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zhyy/test_case/run_tests.py b/zhyy/test_case/run_tests.py index 564f0ca..d5572ee 100644 --- a/zhyy/test_case/run_tests.py +++ b/zhyy/test_case/run_tests.py @@ -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)