Skip to content

Commit da5f919

Browse files
committed
Cleanup
1 parent 555f3d1 commit da5f919

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/test_usb.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -945,9 +945,6 @@ def test_pulse_collection_consumption(
945945
) -> None:
946946
"""Testing pulse collection class."""
947947
monkeypatch.setattr(pw_energy_pulses, "MAX_LOG_HOURS", 24)
948-
949-
# fixed_timestamp_utc = dt.now(UTC)
950-
# fixed_this_hour = fixed_timestamp_utc.replace(minute=0, second=0, microsecond=0)
951948
fixed_this_hour = dt.now(UTC)
952949

953950
# Test consumption logs
@@ -1086,7 +1083,6 @@ def test_pulse_collection_consumption(
10861083

10871084
assert not tst_consumption.log_rollover
10881085
# add missing logs
1089-
test_timestamp = fixed_this_hour - td(hours=3)
10901086
tst_consumption.add_log(99, 2, (fixed_this_hour - td(hours=3)), 1000)
10911087
tst_consumption.add_log(99, 1, (fixed_this_hour - td(hours=4)), 1000)
10921088
tst_consumption.add_log(98, 4, (fixed_this_hour - td(hours=5)), 1000)

0 commit comments

Comments
 (0)