summaryrefslogtreecommitdiffstats
path: root/tests/unit/test-003-event.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-06-09 16:23:05 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-06-09 16:50:14 +0200
commitb5247cc255d0e5fa1afe9760dca8c026c3539586 (patch)
treef58f1287843e75893fd4a37693dad07fe723a163 /tests/unit/test-003-event.py
parentd7c32d8ce509a16d635569949b1058f832cc0051 (diff)
downloadpykolab-b5247cc255d0e5fa1afe9760dca8c026c3539586.tar.gz
"OPTIONAL" is supposed to be "OPT-PARTICIPANT"
Diffstat (limited to 'tests/unit/test-003-event.py')
-rw-r--r--tests/unit/test-003-event.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test-003-event.py b/tests/unit/test-003-event.py
index 429e5bc..61ea8ec 100644
--- a/tests/unit/test-003-event.py
+++ b/tests/unit/test-003-event.py
@@ -44,7 +44,7 @@ class TestEventXML(unittest.TestCase):
self.assertEqual(len(self.event.get_attendees()), 1)
def test_005_attendee_add_name_and_props(self):
- self.event.add_attendee("jane@doe.org", "Doe, Jane", role="OPTIONAL", cutype="RESOURCE")
+ self.event.add_attendee("jane@doe.org", "Doe, Jane", role="OPT-PARTICIPANT", cutype="RESOURCE")
self.assertIsInstance(self.event.get_attendees(), list)
self.assertEqual(len(self.event.get_attendees()), 2)
@@ -129,7 +129,7 @@ UID:7a35527d-f783-4b58-b404-b1389bd2fc57
ATTENDEE;CN="Doe, Jane";CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED
;ROLE=REQ-PARTICIPANT;RSVP=FALSE:MAILTO:jane@doe.org
ATTENDEE;CUTYPE=RESOURCE;PARTSTAT=NEEDS-ACTION
- ;ROLE=OPTIONAL;RSVP=FALSE:MAILTO:max@imum.com
+ ;ROLE=OPT-PARTICIPANT;RSVP=FALSE:MAILTO:max@imum.com
SEQUENCE:2
END:VEVENT
END:VCALENDAR