MCPcopy
hub / github.com/MinishLab/semble / test_cache_evict_missing

Function test_cache_evict_missing

tests/test_mcp.py:472–474  ·  view source on GitHub ↗

evict() on an unknown path is a no-op.

(cache: _IndexCache, tmp_path: Path)

Source from the content-addressed store, hash-verified

470
471
472def test_cache_evict_missing(cache: _IndexCache, tmp_path: Path) -> None:
473 """evict() on an unknown path is a no-op."""
474 cache.evict(str(tmp_path)) # should not raise

Callers

nothing calls this directly

Calls 1

evictMethod · 0.80

Tested by

no test coverage detected