Skip to content

Commit 9f2ed2f

Browse files
committed
Fix last-day assert
1 parent d677848 commit 9f2ed2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_usb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ def test_pulse_collection_consumption(
11231123
# Collected pulses last day:
11241124
assert tst_consumption.collected_pulses(
11251125
fixed_this_hour - td(hours=24), is_consumption=True
1126-
) == (2500 + 1111 + 1000 + 750, pulse_update_3)
1126+
) == (2500 + 23861, pulse_update_3)
11271127
pulse_update_4 = fixed_this_hour + td(hours=1, minutes=1, seconds=3)
11281128
tst_consumption.update_pulse_counter(45, 0, pulse_update_4)
11291129
assert tst_consumption.log_rollover

0 commit comments

Comments
 (0)