Adding Neuron.connection to the profiler
@@ -23,6 +23,14 @@ def test_adal_connections():
Connection(pre_cell=adal, post_cell=post)
tuple(post.load())
+def test_adal_connections_property():
+ """
+ See github issue openworm/PyOpenWorm#90
+ """
+ for x in range(10):
+ adal = Neuron("ADAL")
+ tuple(adal.connection.get('either'))
+
def test_neuron_receptors():
for x in range(30):
