Skip to content

Commit

Permalink
address PR comments: add more to the assertion message
Browse files Browse the repository at this point in the history
  • Loading branch information
KasiaKoz committed Nov 14, 2024
1 parent f589f52 commit 8175d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_core_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -1958,7 +1958,7 @@ def test_avoids_destructive_index_clashes_when_adding_replacement_links(mocker):
), "Network does not have the expected number of links: 5 = (3 original - 1 removed) + 3 new links"
assert (
len({v["multi_edge_idx"] for v in n.link_id_mapping.values()}) == 5
), "Some multi-indices are not unique"
), "Some multi-indices are not unique, the number of multi-indeces should match the number of links"


def test_adding_multiple_links_missing_some_from_nodes():
Expand Down

0 comments on commit 8175d08

Please sign in to comment.