We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 707aeb0 commit 4df0771Copy full SHA for 4df0771
tests/unit/model/grids/test_grid_search.py
@@ -13,7 +13,7 @@
13
14
def test_grid_get_nearest_substation_node(basic_grid):
15
substation_node = basic_grid.get_nearest_substation_node(node_id=103)
16
- assert NodeType.SUBSTATION_NODE == NodeType(substation_node.node_type)
+ assert NodeType.SUBSTATION_NODE == NodeType(int(substation_node.node_type))
17
18
19
def test_grid_get_nearest_substation_node_no_substation(basic_grid):
0 commit comments