Skip to content

Commit 4d5908a

Browse files
committed
test fix
1 parent 3bf42f8 commit 4d5908a

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

p7_integration_tests/0_1_time_steps/gsyn_allow_violate/test_synfire_0dot1_timestep_test_print_gsyn.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ def test_get_gsyn(self):
3434
neurons_per_core=neurons_per_core, delay=delay,
3535
run_times=[runtime], gsyn_path=gsyn_path)
3636
spikes = synfire_run.get_output_pop_spikes()
37+
gsyn = synfire_run.get_output_pop_gsyn()
38+
3739
# no check of spikes length as the system overloads
3840
spike_checker.synfire_spike_checker(spikes, n_neurons)
3941
# compares to own printout so ok

p7_integration_tests/1_0_time_steps/gsyn/test_synfire_1dot0_timestep_test_get_gsyn.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def test_get_gsyn(self):
2525
neurons_per_core=neurons_per_core, delay=delay,
2626
run_times=[runtime])
2727
spikes = synfire_run.get_output_pop_spikes()
28+
gsyn = synfire_run.get_output_pop_gsyn()
2829

2930
self.assertEquals(12, len(spikes))
3031
spike_checker.synfire_spike_checker(spikes, n_neurons)

p7_integration_tests/1_0_time_steps/gsyn/test_synfire_1dot0_timestep_test_print_gsyn.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ def test_get_gsyn(self):
3232
neurons_per_core=neurons_per_core, delay=delay,
3333
run_times=[runtime], gsyn_path=gsyn_path)
3434
spikes = synfire_run.get_output_pop_spikes()
35+
gsyn = synfire_run.get_output_pop_gsyn()
3536

36-
self.assertEquals(56, len(spikes))
37+
self.assertEquals(12, len(spikes))
3738
spike_checker.synfire_spike_checker(spikes, n_neurons)
3839
gsyn_tools.check_path_gysn(gsyn_path, n_neurons, runtime, gsyn)
3940
os.remove(gsyn_path)

0 commit comments

Comments
 (0)