MCPcopy Create free account
hub / github.com/NVIDIA/SkillSpector / test_resolve_nonexistent_raises

Function test_resolve_nonexistent_raises

tests/unit/test_input_handler.py:70–74  ·  view source on GitHub ↗

Resolving a nonexistent path raises FileNotFoundError or ValueError.

()

Source from the content-addressed store, hash-verified

68
69
70def test_resolve_nonexistent_raises() -> None:
71 """Resolving a nonexistent path raises FileNotFoundError or ValueError."""
72 handler = InputHandler()
73 with pytest.raises((FileNotFoundError, ValueError)):
74 handler.resolve("/nonexistent/path/xyz")
75
76
77def test_resolve_single_non_md_file(tmp_path: Path) -> None:

Callers

nothing calls this directly

Calls 2

resolveMethod · 0.95
InputHandlerClass · 0.90

Tested by

no test coverage detected