File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments