Skip to content

Commit

Permalink
tests: fix Enum initialization (#7)
Browse files Browse the repository at this point in the history
* tests: fix Enum initialization

Signed-off-by: Vincent Koppen <[email protected]>

* Update tests/unit/model/grids/test_grid_search.py

Co-authored-by: Thijs Baaijen <[email protected]>
Signed-off-by: Vincent Koppen <[email protected]>

---------

Signed-off-by: Vincent Koppen <[email protected]>
Signed-off-by: Vincent Koppen <[email protected]>
Co-authored-by: Thijs Baaijen <[email protected]>
  • Loading branch information
vincentkoppen and Thijss authored Jan 22, 2025
1 parent cd2d194 commit 4a36057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/model/grids/test_grid_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

def test_grid_get_nearest_substation_node(basic_grid):
substation_node = basic_grid.get_nearest_substation_node(node_id=103)
assert NodeType.SUBSTATION_NODE == NodeType(substation_node.node_type)
assert NodeType.SUBSTATION_NODE == substation_node.node_type


def test_grid_get_nearest_substation_node_no_substation(basic_grid):
Expand Down

0 comments on commit 4a36057

Please sign in to comment.