MCPcopy Index your code
hub / github.com/MinishLab/semble / test_linux_cache_dir_with_xdg

Function test_linux_cache_dir_with_xdg

tests/test_cache.py:52–55  ·  view source on GitHub ↗

_linux_cache_dir uses XDG_CACHE_HOME when set.

()

Source from the content-addressed store, hash-verified

50
51
52def test_linux_cache_dir_with_xdg() -> None:
53 """_linux_cache_dir uses XDG_CACHE_HOME when set."""
54 with patch.dict("os.environ", {"XDG_CACHE_HOME": "/xdg"}, clear=True):
55 assert _linux_cache_dir("semble") == Path("/xdg") / "semble"
56
57
58@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

_linux_cache_dirFunction · 0.90

Tested by

no test coverage detected