]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Test] Add tests for /checkv3 multipart endpoint
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 7 Feb 2026 12:23:37 +0000 (12:23 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 7 Feb 2026 13:20:18 +0000 (13:20 +0000)
commitad0f7d2562533bf7c3cc416ee8cd7624aef1bced
tree4338d73af991f0b2e1277173b78a713f9b854f3a
parent7730e6e3f92cba985cf1228406feff0a06877b00
[Test] Add tests for /checkv3 multipart endpoint

C++ unit tests (23 cases): multipart form parser, response builder,
and round-trip serialization. Robot Framework functional tests (6 cases):
GTUBE scan, metadata handling, settings_id, and error cases for missing
parts and malformed boundaries. Python helpers for building and parsing
multipart/form-data requests and multipart/mixed responses.
test/functional/cases/001_merged/430_checkv3.robot [new file with mode: 0644]
test/functional/lib/rspamd.py
test/rspamd_cxx_unit.cxx
test/rspamd_cxx_unit_multipart.hxx [new file with mode: 0644]