Refactor configure_exclusions

This commit is contained in:
Thomas Lauf 2018-08-09 21:03:10 +02:00
parent 7fefdf80bd
commit 15bb111171
4 changed files with 34 additions and 14 deletions

View file

@ -57,7 +57,7 @@ class TestGaps(TestCase):
def test_single_unobstructed_interval_with_exclusions(self):
"""Add one interval, with exclusions"""
self.t.configure_exclusions(time(18, 0, 0), time(9, 0, 0))
self.t.configure_exclusions((time(18, 0, 0), time(9, 0, 0)))
self.t("track 20160527T100000 - 20160527T140000 foo")