MCPcopy Create free account
hub / github.com/commandoperator/cmdop-sdk / test_override_missing_file_raises

Function test_override_missing_file_raises

python/tests/test_locate.py:29–32  ·  view source on GitHub ↗
(tmp_path, monkeypatch)

Source from the content-addressed store, hash-verified

27
28
29def test_override_missing_file_raises(tmp_path, monkeypatch) -> None:
30 monkeypatch.setenv("CMDOP_CORE_BINARY", str(tmp_path / "nope"))
31 with pytest.raises(FileNotFoundError, match="points at a missing file"):
32 locate_binary()
33
34
35def test_no_override_no_baked_binary_raises_actionable(monkeypatch) -> None:

Callers

nothing calls this directly

Calls 1

locate_binaryFunction · 0.90

Tested by

no test coverage detected