Skip to content

Commit 688a8ad

Browse files
committed
Correct rollover assert
1 parent 9ca5773 commit 688a8ad

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
@@ -1148,7 +1148,7 @@ def test_pulse_collection_consumption(
11481148
) == (145 + 2222 + 3333, pulse_update_5)
11491149
pulse_update_6 = fixed_this_hour + td(hours=2, seconds=10)
11501150
tst_consumption.update_pulse_counter(321, 0, pulse_update_6)
1151-
assert tst_consumption.log_rollover
1151+
assert not tst_consumption.log_rollover
11521152
assert tst_consumption.collected_pulses(
11531153
fixed_this_hour, is_consumption=True
11541154
) == (2222 + 3333 + 321, pulse_update_6)

0 commit comments

Comments
 (0)