we should test icalendar foldline not plone.event's one

pull/26/head
Rok Garbas 2012-01-08 21:13:29 +01:00
rodzic 19ea982bc2
commit c5e891b180
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -23,7 +23,7 @@ SequenceTypes = [TupleType, ListType]
def foldline(text, lenght=75, newline='\r\n'):
""" Make a string folded per RFC5545 (each line must be less than 75 octets)
>>> from plone.event.utils import foldline
>>> from icalendar.parser import foldline
>>> foldline('foo')
u'foo\\r\\n'