From 162355c794c5e43e41dafca1beb7592f9848bb53 Mon Sep 17 00:00:00 2001 From: Fernando Pereira Date: Wed, 16 Oct 2024 17:12:59 +0200 Subject: [PATCH] Fix test --- tests/scientific/test_spont_minis.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/scientific/test_spont_minis.py b/tests/scientific/test_spont_minis.py index 49d8bbf0..3e14912a 100644 --- a/tests/scientific/test_spont_minis.py +++ b/tests/scientific/test_spont_minis.py @@ -47,11 +47,10 @@ def test_spont_minis(sonata_config_file): ) edges_a: SynapseRuleManager = nd.circuits.get_edge_manager("NodeA", "NodeA") - assert len(list(edges_a.all_connections())) == 2 + # Note: Before #198 we would instantiate a projection conn as being internal + assert len(list(edges_a.all_connections())) == 1 conn_2_1 = next(edges_a.get_connections(1, 2)) - conn_1_2 = next(edges_a.get_connections(2, 1)) assert conn_2_1._spont_minis.rate == SPONT_RATE - assert conn_1_2._spont_minis is None c1 = edges_a.cell_manager.get_cellref(1) voltage_vec = Nd.Vector()