Skip to content

Commit 9dd24f4

Browse files
committed
Fix validation issues =in tests
1 parent 5b6d15a commit 9dd24f4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/utils/test_utils.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ def test_rotate_cell(self):
7575
acell = neuroml.utils.component_factory("Cell", id="test_cell", validate=False) # type: neuroml.Cell
7676

7777
acell.set_spike_thresh("10mV")
78+
acell.set_init_memb_potential("-70mV")
79+
acell.set_specific_capacitance("1 uF_per_cm2")
7880

7981
soma = acell.add_segment(
8082
prox=[0, 0, 0, 15],
@@ -159,6 +161,8 @@ def test_translate_cell_to_coords(self):
159161
"""Test translate_cell_to_coords"""
160162
acell = neuroml.utils.component_factory("Cell", id="test_cell", validate=False) # type: neuroml.Cell
161163
acell.set_spike_thresh("10mV")
164+
acell.set_init_memb_potential("-70mV")
165+
acell.set_specific_capacitance("1 uF_per_cm2")
162166
soma = acell.add_segment(
163167
prox=[10, 10, 10, 15],
164168
dist=[10, 10, 10, 15],

0 commit comments

Comments
 (0)