Skip to content

Commit 0ebd1e7

Browse files
committed
Adapt test 4
1 parent 48d8769 commit 0ebd1e7

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,12 +1127,12 @@ def test_pulse_collection_consumption(
11271127
pulse_update_5 = fixed_this_hour + td(hours=1, seconds=33)
11281128
tst_consumption.update_pulse_counter(45, 0, pulse_update_5)
11291129
tst_consumption.add_log(100, 2, (fixed_this_hour + td(hours=1)), 2222)
1130-
assert not tst_consumption.log_rollover
11311130
assert tst_consumption.collected_pulses(
11321131
test_timestamp, is_consumption=True
11331132
) == (200, pulse_update_5)
11341133
pulse_update_6 = fixed_this_hour + td(hours=1, seconds=48)
11351134
tst_consumption.update_pulse_counter(145, 0, pulse_update_6)
1135+
assert not tst_consumption.log_rollover
11361136
assert tst_consumption.collected_pulses(
11371137
test_timestamp, is_consumption=True
11381138
) == (300, pulse_update_6)

0 commit comments

Comments
 (0)