Skip to content

Commit 1954ccd

Browse files
authored
Highlight a bug in Pandapower_Converter validation test
Signed-off-by: Engr. Ahmad Furqan <[email protected]>
1 parent ebb154a commit 1954ccd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/validation/converters/test_pandapower_converter_output.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@ def test_attributes(output_data: Tuple[PandaPowerData, PandaPowerData], componen
163163
# Assert
164164
pd.testing.assert_series_equal(actual_values, expected_values, atol=5e-4, rtol=1e-4)
165165

166-
166+
# The following test only works for those components where valid data is returned by
167+
# load_and_convert_pgm_data_3ph. since this is failing for trafo_output_3ph (returning
168+
# from first "if", this function's output is not being tested currently.
167169
@pytest.mark.parametrize(("component", "attribute"), component_attributes_df(load_and_convert_pgm_data_3ph()))
168170
def test_attributes_3ph(output_data_3ph: Tuple[PandaPowerData, PandaPowerData], component: str, attribute: str):
169171
"""

0 commit comments

Comments
 (0)