Skip to content

Commit

Permalink
floogen(test): Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Sep 28, 2024
1 parent 202d212 commit a0b7ada
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions floogen/tests/graph_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def assert_edge(edge):
assert graph.has_edge(*edge[::-1])
assert graph.is_link_edge(edge[::-1])

graph.add_nodes_as_array("A", [2], "router", "link")
graph.add_nodes_as_array("A", [2], "router", edge_type="link")
assert_node("A_0", (0,))
assert_node("A_1", (1,))
assert_edge(("A_0", "A_1"))
Expand All @@ -329,7 +329,7 @@ def assert_edge(edge):
assert graph.has_edge(*edge)
assert graph.is_link_edge(edge)

graph.add_nodes_as_array("A", [2, 2], "router", "link")
graph.add_nodes_as_array("A", [2, 2], "router", edge_type="link")
assert_node("A_0_0", (0, 0))
assert_node("A_0_1", (0, 1))
assert_node("A_1_0", (1, 0))
Expand Down

0 comments on commit a0b7ada

Please sign in to comment.