Skip to content

Commit

Permalink
add test for no epochs table
Browse files Browse the repository at this point in the history
  • Loading branch information
stephprince committed Jul 18, 2024
1 parent f7a56c4 commit 0c910ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/unit/test_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ def test_epoch_tags_single_string(self):
tags = self.nwbfile.epoch_tags
self.assertEqual(expected_tags, tags)

def test_epoch_tags_no_table(self):
self.assertEqual(set(), self.nwbfile.epoch_tags)

def test_add_acquisition(self):
self.nwbfile.add_acquisition(TimeSeries('test_ts', [0, 1, 2, 3, 4, 5],
'grams', timestamps=[0.0, 0.1, 0.2, 0.3, 0.4, 0.5]))
Expand Down

0 comments on commit 0c910ad

Please sign in to comment.