Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdonline committed Oct 16, 2024
1 parent 489060b commit 162355c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/scientific/test_spont_minis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 162355c

Please sign in to comment.