cp.nvim/tests/fixtures
Barrett Ruth 8465e70772
test: add offline fixture coverage for Kattis and USACO (#342)
## Problem

Kattis and USACO had zero offline test coverage — no fixtures, no
conftest
routers, and no entries in the test matrix. The `precision` field and
error
paths were also unverified across all platforms.

## Solution

Add HTML fixtures for both platforms and wire up `httpx.AsyncClient.get`
routers in `conftest.py` following the existing CSES/CodeChef pattern.
Extend the test matrix from 12 to 23 parametrized cases. Add a dedicated
test for the Kattis contest-vs-slug fallback path (verifying
`contest_url`
and `standings_url`), three parametrized metadata error cases, and a
targeted assertion that `extract_precision` returns a non-`None` float
for
problems with floating-point tolerance hints.

Closes #281.
2026-03-06 16:49:49 -05:00
..
atcoder fix(test): relocate fixtures 2025-10-25 00:37:19 -04:00
codechef fix(ci): format fixutres 2025-10-25 02:01:48 -04:00
codeforces fix(test): relocate fixtures 2025-10-25 00:37:19 -04:00
cses some misc fixes 2025-12-07 16:09:17 -06:00
kattis test: add offline fixture coverage for Kattis and USACO (#342) 2026-03-06 16:49:49 -05:00
usaco test: add offline fixture coverage for Kattis and USACO (#342) 2026-03-06 16:49:49 -05:00