From 673cfb02abc432aab39b1bc1d5e4c7c53518bce4 Mon Sep 17 00:00:00 2001 From: Alessandra Trapani Date: Tue, 26 Sep 2023 18:52:22 +0200 Subject: [PATCH] add test for missing_column_skip --- tests/unit_tests/test_ecephys.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/unit_tests/test_ecephys.py b/tests/unit_tests/test_ecephys.py index 34f8432d3..6ef1ddd19 100644 --- a/tests/unit_tests/test_ecephys.py +++ b/tests/unit_tests/test_ecephys.py @@ -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])