mirror of
https://github.com/bckelley/tconnectsync.git
synced 2026-08-24 03:34:12 -05:00
Drive the real ProcessTimeRange + process_* handlers and the real TandemSourceApi / NightscoutApi clients, mocking only the HTTP transport (base_session / requests). Tandem responses are a small representative slice of real captured pump-log events (verbatim, deviceAssignmentId redacted); tests assert the exact Nightscout operations produced: full multi-type sync, api-secret header, resume-alarm skip, dedup, pretend mode, and empty window.