mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Refactor configure_exclusions
This commit is contained in:
parent
7fefdf80bd
commit
15bb111171
4 changed files with 34 additions and 14 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue