This commit is contained in:
Markus Unterwaditzer 2014-05-15 15:18:25 +02:00
parent 61ef8b3ee3
commit 46f7a0cb05
2 changed files with 3 additions and 5 deletions

View file

@ -29,11 +29,10 @@ def test_split_collection_simple():
SIMPLE_TEMPLATE.format(r=678) SIMPLE_TEMPLATE.format(r=678)
] ]
assert set(normalize_item(item) for item in split_collection(input)) == \ assert set(normalize_item(item) for item in given) == \
set(normalize_item(item) for item in expected) set(normalize_item(item) for item in expected)
def test_split_collection_timezones(): def test_split_collection_timezones():
items = [ items = [
BARE_EVENT_TEMPLATE.format(r=123), BARE_EVENT_TEMPLATE.format(r=123),

View file

@ -7,7 +7,6 @@
:license: MIT, see LICENSE for more details. :license: MIT, see LICENSE for more details.
''' '''
import itertools
import icalendar.cal import icalendar.cal
import icalendar.parser import icalendar.parser