James Woglom
e848a8482d
add new process test for tz change
2025-11-18 14:00:54 -05:00
James Woglom
d51080f6d0
Fix profile test
2025-06-07 23:24:41 -04:00
James Woglom
b32415aaac
Delete dead non-tandem source tests
2025-06-07 23:21:38 -04:00
James Woglom
07aaea9e1c
fix tests
2024-12-30 22:05:11 -05:00
James Woglom
c7ade49eea
devicestatus: tune nightscout output to look more like Loops uploader
2024-12-13 02:09:36 -05:00
James Woglom
d1341e09c0
devicestatus: set pump.battery.percent
2024-12-12 22:20:13 -05:00
James Woglom
9493b6546f
process_alarm exclude resumepumpalarm and test
2024-12-12 00:23:17 -05:00
James Woglom
24a635ca21
add process_device_status and process_user_mode tests
2024-12-12 00:09:28 -05:00
James Woglom
bb3094869d
fix old tests (will be removed/updated)
2024-09-30 00:14:16 -04:00
James Woglom
2bfc5a7860
test pump events
2024-05-23 00:44:06 -04:00
James Woglom
4409b78890
add completed extended bolus test
2023-02-04 00:09:35 -05:00
James Woglom
ee85226c2f
fix test failure
2023-01-16 19:54:16 -05:00
James Woglom
b9fae36dda
ensure permutations of the same number in different types are considered the same NS profile
2023-01-16 17:35:31 -05:00
James Woglom
dd9a9ea72c
tests for profile synchronization
2023-01-16 16:00:50 -05:00
James Woglom
a18c2f3d17
move Bolus internal state from dictionary to domain object
2022-08-09 22:54:51 -04:00
James Woglom
118ee236ba
test_process: add WS2 activity event process tests
2021-12-04 21:37:34 -05:00
James Woglom
0a9dd8732f
bug: use deepcopy to avoid mutating the base dictionary
2021-12-04 21:20:13 -05:00
James Woglom
9635b0bd0f
sync/basal: process manual suspension events as manual 0u/hr basal, fixes #17
2021-10-28 01:38:11 -04:00
James Woglom
f5ef34174f
in-progress: support BOLUS_BG and CGM features.
...
BOLUS_BG will add BG readings which are associated with boluses
on the pump into the Nightscout treatment object. It will determine
whether the BG reading was automatically filled via the Dexcom
connection on the pump or was manually entered by seeing if the
BG reading matches the current CGM reading as known to the pump
at that time. Support for this is nearly complete.
CGM will add Dexcom CGM readings from the pump to Nightscout
as SGV (sensor glucose value) entries. This should only be
used in a situation where xDrip is not used and the pump
connection to the CGM will be the only source of CGM
data to Nightscout. This requires additional testing before
it should be considered ready.
Both options are hidden behind the ENABLE_TESTING_MODES=true
environment variable. Run tconnectsync with this environment
variable and BOLUS_BG and CGM will be usable with the
--features argument.
2021-10-24 00:36:48 -04:00
James Woglom
c33a674bad
iob: add e2e tests for IOB behavior
2021-10-14 02:02:57 -04:00
James Woglom
3be0289177
bolus: add tests for partial entries, propagate requested_insulin
2021-10-14 02:02:57 -04:00
James Woglom
87f531cbb3
tests: add iob test, fix sleep increment in ws2 tests
2021-10-14 02:02:57 -04:00
James Woglom
a3c7aa69a9
tests: add bolus parsing tests
2021-04-21 01:38:53 -04:00
James Woglom
093a7f0627
tests: add bolus tests
2021-04-21 01:27:13 -04:00
James Woglom
4c6e05b2c1
tests: add Nightscout fake, tests for basal processing
2021-04-21 00:44:50 -04:00
James Woglom
209292dd21
tests/sync: complete basal ciq process test
2021-03-18 02:07:39 -04:00
James Woglom
1a9fb36b88
refactor: move tconnect and nightscout API parsers into subpackage
2021-03-18 01:53:03 -04:00
James Woglom
2e0120fdfc
tests: add first test for basal processing
2021-03-18 01:42:44 -04:00