Cosmetics
This commit is contained in:
parent
7ed5122636
commit
e0247f8f92
@ -1,34 +0,0 @@
|
||||
BEGIN:VCALENDAR
|
||||
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VTIMEZONE
|
||||
TZID:Europe/Paris
|
||||
X-LIC-LOCATION:Europe/Paris
|
||||
BEGIN:DAYLIGHT
|
||||
TZOFFSETFROM:+0100
|
||||
TZOFFSETTO:+0200
|
||||
TZNAME:CEST
|
||||
DTSTART:19700329T020000
|
||||
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
|
||||
END:DAYLIGHT
|
||||
BEGIN:STANDARD
|
||||
TZOFFSETFROM:+0200
|
||||
TZOFFSETTO:+0100
|
||||
TZNAME:CET
|
||||
DTSTART:19701025T030000
|
||||
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
|
||||
END:STANDARD
|
||||
END:VTIMEZONE
|
||||
BEGIN:VEVENT
|
||||
CREATED:20130902T150157Z
|
||||
LAST-MODIFIED:20130902T150158Z
|
||||
DTSTAMP:20130902T150158Z
|
||||
UID:event1
|
||||
SUMMARY:Event
|
||||
ORGANIZER:mailto:unclesam@example.com
|
||||
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=TENTATIVE;CN=Jane Doe:MAILTO:janedoe@example.com
|
||||
ATTENDEE;ROLE=REQ-PARTICIPANT;DELEGATED-FROM="MAILTO:bob@host.com";PARTSTAT=ACCEPTED;CN=John Doe:MAILTO:johndoe@example.com
|
||||
DTSTART;TZID=Europe/Paris:20140901T180000
|
||||
DTEND;TZID=Europe/Paris:20140901T210000
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
@ -129,15 +129,14 @@ class BaseRequestsMixIn:
|
||||
"""Update an event."""
|
||||
self.mkcalendar("/calendar.ics/")
|
||||
event = get_file_content("event1.ics")
|
||||
event_modified = get_file_content("event1_modified.ics")
|
||||
path = "/calendar.ics/event1.ics"
|
||||
self.put(path, event)
|
||||
event = get_file_content("event1-prime.ics")
|
||||
self.put(path, event)
|
||||
self.put(path, event_modified)
|
||||
_, answer = self.get("/calendar.ics/")
|
||||
assert answer.count("BEGIN:VEVENT") == 1
|
||||
_, answer = self.get(path)
|
||||
assert "DTSTART;TZID=Europe/Paris:20140901T180000" in answer
|
||||
assert "DTEND;TZID=Europe/Paris:20140901T210000" in answer
|
||||
assert "DTSTAMP:20130902T150159Z" in answer
|
||||
|
||||
def test_update_event_uid_event(self):
|
||||
"""Update an event with a different UID."""
|
||||
|
Loading…
Reference in New Issue
Block a user