Skip to content

Commit ce3742a

Browse files
committed
Fix 2nd related test-assert
1 parent bac0c4e commit ce3742a

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
@@ -1141,7 +1141,7 @@ def test_pulse_collection_consumption(
11411141
assert tst_consumption.log_rollover
11421142
assert tst_consumption.collected_pulses(
11431143
fixed_this_hour, is_consumption=True
1144-
) == (None, None)
1144+
) == (45+ 2222 + 3333, pulse_update_3)
11451145
pulse_update_4 = fixed_this_hour + td(hours=2, seconds=10)
11461146
tst_consumption.update_pulse_counter(321, 0, pulse_update_4)
11471147
assert not tst_consumption.log_rollover

0 commit comments

Comments
 (0)