Skip to content

Commit f2d11d9

Browse files
Apply suggestions from code review
Co-authored-by: daniel-zullo-frequenz <[email protected]> Signed-off-by: Sahas Subramanian <[email protected]>
1 parent 40b3b97 commit f2d11d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/microgrid/test_component_data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_inverter_data() -> None:
4747
lower=-501.0, upper=501.0
4848
),
4949
system_inclusion_bounds=metrics_pb2.Bounds(
50-
lower=-51000.0, upper=51000.0
50+
lower=-51_000.0, upper=51_000.0
5151
),
5252
),
5353
phase_1=electrical_pb2.AC.ACPhase(
@@ -76,7 +76,7 @@ def test_inverter_data() -> None:
7676
assert inv_data.frequency == pytest.approx(50.1)
7777
assert inv_data.active_power == pytest.approx(100.2)
7878
assert inv_data.current_per_phase == pytest.approx((12.3, 23.4, 34.5))
79-
assert inv_data.active_power_inclusion_lower_bound == pytest.approx(-51000.0)
80-
assert inv_data.active_power_inclusion_upper_bound == pytest.approx(51000.0)
79+
assert inv_data.active_power_inclusion_lower_bound == pytest.approx(-51_000.0)
80+
assert inv_data.active_power_inclusion_upper_bound == pytest.approx(51_000.0)
8181
assert inv_data.active_power_exclusion_lower_bound == pytest.approx(-501.0)
8282
assert inv_data.active_power_exclusion_upper_bound == pytest.approx(501.0)

0 commit comments

Comments
 (0)