Skip to content

Commit

Permalink
add static synapse test
Browse files Browse the repository at this point in the history
  • Loading branch information
C.A.P. Linssen committed Aug 9, 2023
1 parent 4ccf133 commit 5e02603
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/nest_tests/test_static_synapse.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

import nest

from pynestml.codegeneration.nest_tools import NESTTools
from pynestml.frontend.pynestml_frontend import generate_nest_target

try:
Expand Down Expand Up @@ -58,6 +59,9 @@ def setUp(self):
suffix="_nestml",
codegen_opts=codegen_opts)


@pytest.mark.skipif(NESTTools.detect_nest_version().startswith("v2"),
reason="This test does not support NEST 2")
def test_static_synapse(self):
pre_spike_times = [10., 40., 50.]
resolution = 1. # [ms]
Expand Down

0 comments on commit 5e02603

Please sign in to comment.