refactor default artifacts workspace and path compatibility
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user