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,9 +29,8 @@ def test_split_collection_simple():
SIMPLE_TEMPLATE.format(r=678)
]
assert set(normalize_item(item) for item in split_collection(input)) == \
set(normalize_item(item) for item in expected)
assert set(normalize_item(item) for item in given) == \
set(normalize_item(item) for item in expected)
def test_split_collection_timezones():

View file

@ -7,13 +7,12 @@
:license: MIT, see LICENSE for more details.
'''
import itertools
import icalendar.cal
import icalendar.parser
from .base import Item, Storage
from ..utils import expand_path, get_password, itervalues, request, \
text_type, urlparse
text_type, urlparse
USERAGENT = 'vdirsyncer'