Skip to content

Commit

Permalink
test: added docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
gtdang committed Oct 21, 2024
1 parent c97f520 commit fec7b57
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 @@ -279,6 +279,7 @@ def base_simulation_spikes(self, class_setup_net):
return net, dpls

def test_spikes_raster_trial_idx(self, base_simulation_spikes):
"""Plotting with different index arguments"""
net, _ = base_simulation_spikes

# Bad index argument raises error
Expand All @@ -297,6 +298,7 @@ def test_spikes_raster_trial_idx(self, base_simulation_spikes):
), "No data plotted in raster plot"

def test_spikes_raster_colors(self, base_simulation_spikes):
"""Plotting with different color arguments"""
net, _ = base_simulation_spikes

def _get_line_hex_colors(fig):
Expand Down

0 comments on commit fec7b57

Please sign in to comment.