mirror of
https://github.com/ipnet-mesh/meshcore-hub.git
synced 2026-06-26 21:12:22 +02:00
b5b6872060
Add tests covering the previously-uncovered new lines flagged by Codecov: - /packets route: search, packet_type, channel_idx, route_type, observed_by, decryptable (both), max_snr, path-len ranges, since/until, observer-tag hydration, detail 404, ascending sort, and the role-aware cache key builder. - store_raw_packet: existing-observer update branch, senderPublicKey source fallback, and the no-source-prefix case. - normalizer: advertisement payload carries the wire packet_hash. - CollectorSettings: raw-packet retention default/override and capture default. Also stub the test decoder via setattr so mypy's method-assign analysis is deterministic across incremental-cache states. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>