mirror of
https://github.com/bckelley/tconnectsync.git
synced 2026-08-24 03:34:12 -05:00
- tests/sync/tandemsource/test_update_profiles.py: settings sourcing from pump_metadata() — matching deviceId with settings reaches PumpSettings.from_dict (proven via sentinel, using the real BFF settings.details shape); settings=None / no-match / empty return False without parsing. - test_tandemsource.py: adapter edge cases (availableDataRange/settings keys absent, missing required key raises KeyError, Mobi Control-IQ+ passthrough) and DEFAULT_EVENT_IDS regression (55 ids, no dupes, 477/480/486 present). Fixtures are inline and trimmed from the real captured responses.