mirror of
https://github.com/spartanz51/tutabridge.git
synced 2026-06-24 10:54:32 +02:00
Add a MockBackend error mode and a test asserting a failed on-demand body fetch returns NO [UNAVAILABLE] (not a placeholder body) and arms the cooldown, and that a cooled-down mail then short-circuits to NO without touching the backend. Also prune elapsed entries when arming a cooldown so the map stays bounded by the mails currently cooling down rather than every mail that has ever failed.