Skip to content

Commit 768e611

Browse files
committed
Fix related test-assert
1 parent f15f11f commit 768e611

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
@@ -1126,7 +1126,7 @@ def test_pulse_collection_consumption(
11261126
test_timestamp = fixed_this_hour + td(hours=1, seconds=5)
11271127
assert tst_consumption.collected_pulses(
11281128
test_timestamp, is_consumption=True
1129-
) == (None, None)
1129+
) == (45, test_timestamp)
11301130
tst_consumption.add_log(100, 2, (fixed_this_hour + td(hours=1)), 2222)
11311131
assert not tst_consumption.log_rollover
11321132
assert tst_consumption.collected_pulses(

0 commit comments

Comments
 (0)