From 23596826a1776bc597c86445845bb5da2c0c00fb Mon Sep 17 00:00:00 2001 From: hangshuo652 Date: Mon, 31 Aug 2026 21:40:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0=E5=A4=96=E9=83=A8?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=BE=9D=E8=B5=96=E7=9A=84skip=E6=A0=87?= =?UTF-8?q?=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_biz_e2e.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_biz_e2e.py b/tests/test_biz_e2e.py index 91eb4ca..ad0d6de 100644 --- a/tests/test_biz_e2e.py +++ b/tests/test_biz_e2e.py @@ -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"