Skip to content

Commit 95e8a40

Browse files
committed
fix unit-test
Signed-off-by: zhen0427 <[email protected]>
1 parent 5535460 commit 95e8a40

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/unit/converters/test_pandapower_converter_input.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,7 @@ def test_fill_pgm_extra_info():
154154
converter = PandaPowerConverter()
155155
converter.idx_lookup[("bus", None)] = pd.Series([101, 102, 103], index=[0, 1, 2])
156156
converter.idx_lookup[("load", "const_current")] = pd.Series([201, 202, 203], index=[3, 4, 5])
157-
converter.pgm_input_data[ComponentType.sym_load] = initialize_array(
158-
159-
160-
.input, ComponentType.sym_load, 3)
157+
converter.pgm_input_data[ComponentType.sym_load] = initialize_array(DatasetType.input, ComponentType.sym_load, 3)
161158
converter.pgm_input_data[ComponentType.sym_load]["id"] = [3, 4, 5]
162159
converter.pgm_input_data[ComponentType.sym_load]["node"] = [0, 1, 2]
163160
converter.pgm_input_data[ComponentType.line] = initialize_array(DatasetType.input, ComponentType.line, 2)

0 commit comments

Comments
 (0)