refactor default artifacts workspace and path compatibility

This commit is contained in:
windyboy
2026-02-16 13:23:01 +08:00
parent 2dd329cba9
commit caa6881fd2
8 changed files with 314 additions and 79 deletions
+4 -4
View File
@@ -326,9 +326,9 @@ class TestCLIReports:
'--input', str(tmp_path / "nonexistent.csv")
])
# Verify error (Click validates file existence before our code runs)
# Verify runtime missing-file handling
assert result.exit_code != 0
assert "does not exist" in result.output
assert "Error: Input file not found:" in result.output
def test_report_completeness_missing_file(self, tmp_path):
"""Test completeness report with missing input file."""
@@ -338,6 +338,6 @@ class TestCLIReports:
'--input', str(tmp_path / "nonexistent.json")
])
# Verify error (Click validates file existence before our code runs)
# Verify runtime missing-file handling
assert result.exit_code != 0
assert "does not exist" in result.output
assert "Error: Input file not found:" in result.output