Skip to content

Commit 37f391b

Browse files
fix(cli): Fix ANSI escape sequence issues in file not found test assertions
Co-Authored-By: AJ Steers <[email protected]>
1 parent 4fd3687 commit 37f391b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unit_tests/cli/test_manifest_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def test_validate_manifest_file_not_found(self, tmp_path: Path) -> None:
155155
)
156156

157157
assert result.exit_code == 2
158-
assert "Invalid value for '--manifest-path'" in result.output
158+
assert "--manifest-path" in result.output
159159
assert "does not exist" in result.output
160160

161161
def test_validate_manifest_invalid_yaml(self, tmp_path: Path) -> None:
@@ -340,7 +340,7 @@ def test_migrate_manifest_file_not_found(self, tmp_path: Path) -> None:
340340
)
341341

342342
assert result.exit_code == 2
343-
assert "Invalid value for '--manifest-path'" in result.output
343+
assert "--manifest-path" in result.output
344344
assert "does not exist" in result.output
345345

346346
def test_migrate_manifest_invalid_yaml(self, tmp_path: Path) -> None:

0 commit comments

Comments
 (0)