aboutsummaryrefslogtreecommitdiff
path: root/tests/test-gloss-fetch--definitions-404-returns-no-defs.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-04-28 18:07:00 -0500
committerCraig Jennings <c@cjennings.net>2026-04-28 18:07:00 -0500
commit166d3bde50718eacd51c75cb82246988d9ec0151 (patch)
tree5d7161848ba74465db50058fb54a1f944b99730a /tests/test-gloss-fetch--definitions-404-returns-no-defs.el
parent1e2da6b1a463492ada31ce473414289e761519ca (diff)
downloadgloss-166d3bde50718eacd51c75cb82246988d9ec0151.tar.gz
gloss-166d3bde50718eacd51c75cb82246988d9ec0151.zip
chore: capture Wiktionary REST fixtures for replay
Save raw response bodies from the Wiktionary REST endpoint under tests/fixtures/. The fetch layer can replay them with a cl-letf on url-retrieve-synchronously instead of hitting the network in tests. The five fixtures cover the cases that matter for the parser. anaphora is the simple single-sense English entry. SBIR is an acronym with multiple senses. API is highly polysemous and multi-language (en, fr, id, la, pt). hapax-legomenon is the multi-word case, so it exercises URL-encoding for the space. The 404 fixture captures the JSON error body Wiktionary returns when a term isn't there.
Diffstat (limited to 'tests/test-gloss-fetch--definitions-404-returns-no-defs.el')
0 files changed, 0 insertions, 0 deletions