Skip to content

Commit 3b483db

Browse files
committed
Fix timestamp for added log
1 parent 730a430 commit 3b483db

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
assert tst_consumption.collected_pulses(
11271127
test_timestamp, is_consumption=True
11281128
) == (45, pulse_update_4)
1129-
tst_consumption.add_log(100, 2, (fixed_this_hour + td(hours=1, minutes=1, seconds=5)), 2222)
1129+
tst_consumption.add_log(100, 2, (fixed_this_hour + td(hours=1)), 2222)
11301130
assert tst_consumption.log_rollover
11311131
# Test collection of the last full hour
11321132
assert tst_consumption.collected_pulses(

0 commit comments

Comments
 (0)