
Ben WestandCopilot
595219f9c4
Add Loop SGV entry and DeviceStatus upload tests
SGV Entry Tests (TEST-SGV-001 to 005):
- Single SGV with required fields
- All direction values
- Loop device identifier preserved
- Dexcom device with filtered/unfiltered/noise
- SGV deduplication by date+device
- Different devices create separate entries
- MBG (manual BG check) entries
DeviceStatus Tests (TEST-DS-001 to 005):
- Loop status with IOB/COB
- Loop predicted values array
- Loop enacted temp basal
- Pump reservoir and battery
- Omnipod specific fields
- Override in deviceStatus
- Override with insulinNeedsScaleFactor
- Complete Loop deviceStatus
17 new tests, all passing (716 total).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-10 15:03:48 -07:00
..
2026-03-10 14:54:00 -07:00
2026-01-19 13:14:46 -08:00
2021-02-18 18:23:40 +02:00
2022-08-30 12:49:01 +03:00
2026-01-19 13:14:21 -08:00
2021-01-07 22:58:23 +02:00
2023-02-18 16:12:47 +02:00
2023-02-18 16:12:47 +02:00
2023-02-18 16:12:47 +02:00
2026-03-06 21:35:16 +00:00
2026-03-06 21:35:16 +00:00
2023-02-18 16:12:47 +02:00
2026-01-19 13:14:21 -08:00
2026-03-06 21:35:16 +00:00
2023-02-18 16:12:47 +02:00
2026-01-19 13:14:21 -08:00
2023-02-18 16:12:47 +02:00
2026-03-06 21:35:16 +00:00
2026-03-06 21:35:16 +00:00
2026-01-19 22:47:02 +00:00
2026-01-19 22:47:02 +00:00
2021-02-02 19:53:30 +02:00
2026-01-19 22:47:02 +00:00
2026-01-19 22:47:02 +00:00
2026-01-19 13:13:43 -08:00
2026-01-19 22:47:02 +00:00
2026-01-19 22:47:02 +00:00
2026-01-19 22:47:02 +00:00
2019-10-30 22:55:23 +01:00
2026-01-19 18:50:11 -08:00
2026-01-19 13:14:46 -08:00
2021-02-02 19:53:30 +02:00
2026-03-10 13:36:34 -07:00
2026-01-19 13:13:43 -08:00
2026-01-19 22:47:02 +00:00
2021-02-02 19:53:30 +02:00
2023-01-01 19:14:59 +02:00
2023-01-01 19:14:59 +02:00
2023-01-01 19:14:59 +02:00
2023-01-01 19:14:59 +02:00
2021-12-10 00:46:34 +00:00
2023-01-01 19:14:59 +02:00
2026-03-10 15:00:16 -07:00
2021-02-02 19:53:30 +02:00
2026-01-19 19:07:19 -08:00
2020-05-05 22:13:21 +03:00
2015-11-16 21:39:10 +01:00
2023-01-01 19:14:59 +02:00
2026-01-19 13:14:21 -08:00
2021-02-08 19:28:49 +02:00
2016-10-15 10:54:20 -07:00
2021-02-02 19:53:30 +02:00
2026-03-06 21:35:16 +00:00
2018-07-27 16:04:07 +03:00
2021-02-02 19:53:30 +02:00
2021-02-02 19:53:30 +02:00
2020-01-14 15:33:56 +00:00
2019-11-10 21:57:49 +00:00
2026-01-19 13:15:09 -08:00
2026-03-10 14:54:00 -07:00
2023-01-24 19:43:45 +02:00
2026-01-19 22:47:02 +00:00
2026-03-10 14:58:05 -07:00
2023-01-01 19:14:59 +02:00
2023-01-01 19:14:59 +02:00
2023-01-01 19:14:59 +02:00
2026-03-06 23:24:50 +00:00
2015-07-12 23:46:21 -07:00
2023-01-01 19:14:59 +02:00
2020-12-14 22:08:53 +02:00
2016-01-07 12:17:02 -08:00
2026-01-19 13:15:09 -08:00
2021-02-02 19:53:30 +02:00
2021-02-02 19:53:30 +02:00
2020-12-14 22:08:53 +02:00
2026-03-10 14:56:01 -07:00
2026-03-06 23:42:58 +00:00
2021-02-02 19:53:30 +02:00
2018-09-29 14:49:56 +02:00
2016-10-15 10:54:20 -07:00
2023-01-01 19:14:59 +02:00
2021-01-17 12:20:48 +02:00
2023-01-01 19:14:59 +02:00
2021-02-02 19:53:30 +02:00
2020-12-14 22:30:21 +02:00
2026-03-08 01:01:57 +00:00
2020-11-17 14:17:17 +02:00
2026-01-20 02:05:33 +00:00
2021-01-31 12:41:00 +02:00
2021-02-02 19:53:30 +02:00
2021-02-06 19:11:36 +02:00
2023-01-01 19:14:59 +02:00
2020-02-22 17:07:21 +02:00
2026-03-10 15:03:48 -07:00
2021-02-02 19:53:30 +02:00
2026-01-19 22:47:02 +00:00
2021-02-02 19:53:30 +02:00
2015-07-29 00:24:13 -07:00
2021-02-02 19:53:30 +02:00
2020-01-12 18:46:08 +00:00
2020-12-14 22:08:53 +02:00
2023-01-01 19:14:59 +02:00
2021-02-02 19:53:30 +02:00
2026-03-06 21:35:16 +00:00
2026-01-19 22:47:02 +00:00