From 8175d0803a676254ed5d913c706d67131d527106 Mon Sep 17 00:00:00 2001 From: "kasia.kozlowska" Date: Thu, 14 Nov 2024 16:06:08 +0000 Subject: [PATCH] address PR comments: add more to the assertion message --- tests/test_core_network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_core_network.py b/tests/test_core_network.py index 4394a8ab..239c044d 100644 --- a/tests/test_core_network.py +++ b/tests/test_core_network.py @@ -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():