Skip to content

Commit 6689690

Browse files
committed
Improve tests descriptions
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent f38b2f8 commit 6689690

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/microgrid/power_distributing/test_battery_distribution_algorithm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ def test_supply_two_batteries_2(self) -> None:
562562

563563
# Test consumption power distribution
564564
def test_consumption_three_batteries_1(self) -> None:
565-
"""Distribute consume power."""
565+
"""Distribute consume power with three batteries with the same capacity."""
566566
capacity: list[Metric] = [Metric(49000), Metric(49000), Metric(49000)]
567567
soc: list[Metric] = [
568568
Metric(80.0, Bound(0, 100)),
@@ -587,7 +587,7 @@ def test_consumption_three_batteries_1(self) -> None:
587587
assert result.remaining_power == approx(0.0)
588588

589589
def test_consumption_three_batteries_2(self) -> None:
590-
"""Distribute consume power."""
590+
"""Distribute consume power with three batteries but one with double the capacity."""
591591
capacity: list[Metric] = [Metric(98000), Metric(49000), Metric(49000)]
592592
soc: list[Metric] = [
593593
Metric(80.0, Bound(0, 100)),

0 commit comments

Comments
 (0)