ifcurl/tests
Bruno Postle 4df69d229d tests: add TestCacheCli covering list, clear, and prune CLI paths
9 tests exercise _cmd_cache() directly with fake cache dirs and a
monkeypatched user_cache_dir, covering output formatting, empty states,
prune with --max-gb arg, prune via IFCURL_CACHE_MAX_GB env, and the
error exit when neither is set.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 20:43:43 +01:00
..
conftest.py style: ruff --fix + black across ifcurl/ and tests/ 2026-04-25 08:34:56 +01:00
test_auth.py style: ruff --fix + black across ifcurl/ and tests/ 2026-04-25 08:34:56 +01:00
test_bcf.py git.py: log warning and return is_stale flag when mutable-ref fetch fails 2026-04-25 09:05:13 +01:00
test_diff.py style: ruff --fix + black across ifcurl/ and tests/ 2026-04-25 08:34:56 +01:00
test_git.py tests: add TestCacheCli covering list, clear, and prune CLI paths 2026-04-25 20:43:43 +01:00
test_render.py style: ruff --fix + black across ifcurl/ and tests/ 2026-04-25 08:34:56 +01:00
test_sandbox.py style: ruff --fix + black across ifcurl/ and tests/ 2026-04-25 08:34:56 +01:00
test_service.py service+viewer: add /select endpoint for complex selector resolution 2026-04-25 20:20:41 +01:00
test_url.py style: ruff --fix + black across ifcurl/ and tests/ 2026-04-25 08:34:56 +01:00
test_viewer_url.mjs viewer: extract URL logic to viewer-url.js, add JS tests 2026-04-24 07:31:19 +01:00