fix: 添加外部数据依赖的skip标记

This commit is contained in:
hangshuo652
2026-08-31 21:40:38 +08:00
parent 21040bfcc2
commit 23596826a1
+3
View File
@@ -192,6 +192,7 @@ def test_file_size_limit(page: Page):
# ─── Layer 4: E2E COBOL-Java Verification ───
@pytest.mark.skipif(not _cobol_available(), reason="WSL not available")
@pytest.mark.skipif(not COBOL_GIT.exists(), reason="jcl-cobol-git data not available")
def test_cobol_system_pipeline_exists(page: Page):
"""TC-E2E-02 prep: Verify COBOL system data files exist."""
data_dir = COBOL_GIT / "data"
@@ -201,6 +202,7 @@ def test_cobol_system_pipeline_exists(page: Page):
@pytest.mark.skipif(not _cobol_available(), reason="WSL not available")
@pytest.mark.skipif(not COBOL_GIT.exists(), reason="jcl-cobol-git data not available")
def test_cobol_output_consistent(page: Page):
"""TC-E2E-02: CRDVAL output matches known golden data."""
output = COBOL_GIT / "data" / "output"
@@ -220,6 +222,7 @@ def test_cobol_output_consistent(page: Page):
@pytest.mark.skipif(not _cobol_available(), reason="WSL not available")
@pytest.mark.skipif(not COBOL_GIT.exists(), reason="jcl-cobol-git data not available")
def test_java_output_equals_cobol(page: Page):
"""TC-E2E-02: Java CRDVAL output matches COBOL."""
cobol_dir = COBOL_GIT / "data" / "output"