Skip to content

Commit df0dd45

Browse files
committed
Fix wrong asserts
1 parent 2f5b17e commit df0dd45

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
@@ -1127,7 +1127,7 @@ def test_pulse_collection_consumption(
11271127
test_timestamp, is_consumption=True
11281128
) == (45, pulse_update_4)
11291129
tst_consumption.add_log(100, 2, (fixed_this_hour + td(hours=1)), 2222)
1130-
assert tst_consumption.log_rollover
1130+
assert not tst_consumption.log_rollover
11311131
# Test collection of the last full hour
11321132
assert tst_consumption.collected_pulses(
11331133
fixed_this_hour, is_consumption=True

0 commit comments

Comments
 (0)