Skip to content

Commit 08b85f0

Browse files
committed
Improve assert
1 parent 7889851 commit 08b85f0

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
@@ -1125,7 +1125,7 @@ def test_pulse_collection_consumption(
11251125
assert tst_consumption.log_rollover
11261126
assert tst_consumption.collected_pulses(
11271127
test_timestamp, is_consumption=True
1128-
) == (2700 + 2861, pulse_update_3)
1128+
) == (2700 + 1750 + 1111, pulse_update_3)
11291129
test_timestamp = fixed_this_hour + td(hours=1, seconds=18)
11301130
tst_consumption.update_pulse_counter(45, 0, test_timestamp)
11311131
assert tst_consumption.collected_pulses(

0 commit comments

Comments
 (0)