From 2fb37a16a9f01cc3137d055051e69f51c9a5e216 Mon Sep 17 00:00:00 2001 From: George Dang <53052793+gtdang@users.noreply.github.com> Date: Fri, 8 Nov 2024 14:42:44 -0500 Subject: [PATCH] docs: added docstrings to TestCellResponsePlotters pytest fixtures --- hnn_core/tests/test_viz.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hnn_core/tests/test_viz.py b/hnn_core/tests/test_viz.py index 5ae229fd8..d32172497 100644 --- a/hnn_core/tests/test_viz.py +++ b/hnn_core/tests/test_viz.py @@ -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) @@ -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.}