about summary refs log tree commit diff
path: root/test/python/test_groups.py
diff options
context:
space:
mode:
authorAlexander_Kabui <alexanderkabua@gmail.com>2026-10-04 12:14:11 +0300
committerAlexander_Kabui <alexanderkabua@gmail.com>2026-10-05 21:53:57 +0300
commit98b71eb8c080c21ca458961805019170c794fdc7 (patch)
treec08c751223fb13f4721a5a95e161cefba5a8ee80 /test/python/test_groups.py
parent1b40aa1f557eadd8894996fff6081d2917e28f20 (diff)
downloadgenenetwork4-98b71eb8c080c21ca458961805019170c794fdc7.tar.gz
* src/routes/search.rs (search): map any gn3 4xx with an error body to 422
Production gn3 puts the diagnostic under "error" and leaks Python
reprs under "error_type", so the old "parsererror" match never
fired and malformed queries fell to 502 with no actionable feedback.
Match on "error" alone; gn3 5xx stays 502.

* tests/search.rs test/python/test_search.py (search): stub replays
production's error body shape.
Diffstat (limited to 'test/python/test_groups.py')
0 files changed, 0 insertions, 0 deletions