mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Flake8
This commit is contained in:
parent
61ef8b3ee3
commit
46f7a0cb05
2 changed files with 3 additions and 5 deletions
|
|
@ -29,9 +29,8 @@ 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():
|
||||||
|
|
|
||||||
|
|
@ -7,13 +7,12 @@
|
||||||
: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
|
||||||
|
|
||||||
from .base import Item, Storage
|
from .base import Item, Storage
|
||||||
from ..utils import expand_path, get_password, itervalues, request, \
|
from ..utils import expand_path, get_password, itervalues, request, \
|
||||||
text_type, urlparse
|
text_type, urlparse
|
||||||
|
|
||||||
USERAGENT = 'vdirsyncer'
|
USERAGENT = 'vdirsyncer'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue