Skip to content

Commit 4a36057

Browse files
tests: fix Enum initialization (#7)
* tests: fix Enum initialization Signed-off-by: Vincent Koppen <vincent.koppen@alliander.com> * Update tests/unit/model/grids/test_grid_search.py Co-authored-by: Thijs Baaijen <13253091+Thijss@users.noreply.github.com> Signed-off-by: Vincent Koppen <53343926+vincentkoppen@users.noreply.github.com> --------- Signed-off-by: Vincent Koppen <vincent.koppen@alliander.com> Signed-off-by: Vincent Koppen <53343926+vincentkoppen@users.noreply.github.com> Co-authored-by: Thijs Baaijen <13253091+Thijss@users.noreply.github.com>
1 parent cd2d194 commit 4a36057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/model/grids/test_grid_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
def test_grid_get_nearest_substation_node(basic_grid):
1515
substation_node = basic_grid.get_nearest_substation_node(node_id=103)
16-
assert NodeType.SUBSTATION_NODE == NodeType(substation_node.node_type)
16+
assert NodeType.SUBSTATION_NODE == substation_node.node_type
1717

1818

1919
def test_grid_get_nearest_substation_node_no_substation(basic_grid):

0 commit comments

Comments
 (0)