Skip to content

Commit 639394c

Browse files
authored
Replace Power.from_watts(0) with Power.zero()
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 5bb5bb3 commit 639394c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/timeseries/_battery_pool/test_battery_pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ async def run_power_bounds_test( # pylint: disable=too-many-locals
984984
},
985985
PowerMetrics(
986986
now,
987-
Bounds(Power.from_watts(-100), Power.from_watts(0)),
987+
Bounds(Power.from_watts(-100), Power.zero()),
988988
Bounds(Power.from_watts(-50), Power.from_watts(350)),
989989
),
990990
),

0 commit comments

Comments
 (0)