Skip to content

Commit

Permalink
add test for missing_column_skip
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandratrapani committed Sep 26, 2023
1 parent 4a799a2 commit 673cfb0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/unit_tests/test_ecephys.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,11 @@ def test_check_ascending_spike_times_w_missing_spike_times_pass():
assert check_ascending_spike_times(units_table=units_table) is None


def test_check_ascending_spike_times_missing_column_skip():
units_table = Units()
assert check_ascending_spike_times(units_table=units_table) is None


def test_check_ascending_spike_times_fail():
units_table = Units(name="TestUnits")
units_table.add_unit(spike_times=[0.0, 0.1])
Expand Down

0 comments on commit 673cfb0

Please sign in to comment.