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

Function test_windows_cache_dir_env

tests/test_cache.py:46–49  ·  view source on GitHub ↗

_windows_cache_dir prefers LOCALAPPDATA, falls back to APPDATA.

(env: dict[str, str], expected_base: str)

Source from the content-addressed store, hash-verified

44 ],
45)
46def test_windows_cache_dir_env(env: dict[str, str], expected_base: str) -> None:
47 """_windows_cache_dir prefers LOCALAPPDATA, falls back to APPDATA."""
48 with patch.dict("os.environ", env, clear=True):
49 assert _windows_cache_dir("semble") == Path(expected_base) / "semble" / "Cache"
50
51
52def test_linux_cache_dir_with_xdg() -> None:

Callers

nothing calls this directly

Calls 1

_windows_cache_dirFunction · 0.90

Tested by

no test coverage detected