fix: 清除硬编码API Key与机器特定路径,改用环境变量+混合式路径解析

This commit is contained in:
hangshuo652
2026-08-25 21:53:18 +08:00
parent b3895a905e
commit 8e81f960af
32 changed files with 200 additions and 76 deletions
+5 -1
View File
@@ -1,8 +1,12 @@
"""Prepare test data for Playwright E2E tests."""
import os
from pathlib import Path
FIXTURES = Path(__file__).parent / "fixtures"
COBOL_GIT = Path(r"D:\cobol-java\jcl-cobol-git")
COBOL_GIT = Path(
os.environ.get("COBOL_GIT_ROOT",
Path(__file__).resolve().parent.parent.parent / "jcl-cobol-git")
)
def prepare():