Skip to content
Snippets Groups Projects
Commit 21dd60df authored by Zineb Aly's avatar Zineb Aly
Browse files

test raise KeyError

parent abad0a5a
No related branches found
No related tags found
No related merge requests found
......@@ -89,6 +89,10 @@ class TestBestTrack(unittest.TestCase):
with self.assertRaises(ValueError):
best_track(events.tracks, strategy="Zineb")
# test raising KeyError
with self.assertRaises(KeyError):
best_track(events.tracks)
class TestGetMultiplicity(unittest.TestCase):
def test_get_multiplicity(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment