Skip to content

Commit

Permalink
docs: added docstrings to TestCellResponsePlotters pytest fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
gtdang authored and asoplata committed Nov 22, 2024
1 parent 62088be commit cbc86d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hnn_core/tests/test_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ class TestCellResponsePlotters:
"""Tests plotting methods of the CellResponse class"""
@pytest.fixture(scope='class')
def class_setup_net(self):
"""Creates a base network for tests within this class"""
hnn_core_root = op.dirname(hnn_core.__file__)
params_fname = op.join(hnn_core_root, 'param', 'default.json')
params = read_params(params_fname)
Expand All @@ -260,6 +261,7 @@ def class_setup_net(self):

@pytest.fixture(scope='class')
def base_simulation_spikes(self, class_setup_net):
"""Adds drives with spikes for testing of spike visualizations"""
net = class_setup_net
weights_ampa = {'L2_pyramidal': 0.1, 'L5_pyramidal': 1.}
syn_delays = {'L2_pyramidal': 0.1, 'L5_pyramidal': 1.}
Expand Down

0 comments on commit cbc86d2

Please sign in to comment.