feat: 完善dulizhan项目测试代码

This commit is contained in:
2026-05-06 16:19:21 +08:00
parent 354d17989a
commit eab377985d
119 changed files with 20663 additions and 5259 deletions

View File

@@ -46,8 +46,8 @@ def run_pytest(args_list):
if is_jenkins and 'WORKSPACE' in env:
# Jenkins环境下使用绝对路径
global ALLURE_RESULTS_DIR, ALLURE_REPORT_DIR
ALLURE_RESULTS_DIR = os.path.join(env['WORKSPACE'], 'zhyy', 'test_case', 'reports', 'allure-results')
ALLURE_REPORT_DIR = os.path.join(env['WORKSPACE'], 'zhyy', 'test_case', 'reports', 'allure-report')
ALLURE_RESULTS_DIR = os.path.join(env['WORKSPACE'], 'dulizhan', 'test_case', 'reports', 'allure-results')
ALLURE_REPORT_DIR = os.path.join(env['WORKSPACE'], 'dulizhan', 'test_case', 'reports', 'allure-report')
ensure_dirs()
cmd = ['python', '-m', 'pytest'] + args_list