summaryrefslogtreecommitdiffstats
path: root/tests/unit/test-003-event.py
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2019-11-08 10:29:18 +0000
committerAleksander Machniak <machniak@kolabsys.com>2019-11-08 10:29:18 +0000
commitef85ddea076263eb774c1e91a38cdb87a4ba9792 (patch)
tree91905bde38cc6c1e053ed9d353de7307fe9e78eb /tests/unit/test-003-event.py
parent726512ce5cabc82dc31ca4f8d7e40aa4f55f0028 (diff)
downloadpykolab-ef85ddea076263eb774c1e91a38cdb87a4ba9792.tar.gz
T5641: Support CUTYPE=ROOM and CUTYPE=UNKNOWN
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 9959ec6..8b23830 100644
--- a/tests/unit/test-003-event.py
+++ b/tests/unit/test-003-event.py
@@ -41,7 +41,7 @@ SEQUENCE:2
CLASS:PUBLIC
ATTENDEE;CN="Manager, Jane";PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;CUTYP
E=INDIVIDUAL;RSVP=TRUE:mailto:jane.manager@example.org
-ATTENDEE;CUTYPE=RESOURCE;PARTSTAT=NEEDS-ACTION;ROLE=OPT-PARTICIPANT;RSVP=FA
+ATTENDEE;CUTYPE=ROOM;PARTSTAT=NEEDS-ACTION;ROLE=OPT-PARTICIPANT;RSVP=FA
LSE:MAILTO:max@imum.com
ORGANIZER;CN=Doe\, John:mailto:john.doe@example.org
URL:http://somelink.com/foo
@@ -495,7 +495,7 @@ METHOD:REQUEST
self.assertEqual(event.get_categories(), ["Personal"])
self.assertEqual(event.get_priority(), '2')
self.assertEqual(event.get_classification(), kolabformat.ClassPublic)
- self.assertEqual(event.get_attendee_by_email("max@imum.com").get_cutype(), kolabformat.CutypeResource)
+ self.assertEqual(event.get_attendee_by_email("max@imum.com").get_cutype(), kolabformat.CutypeRoom)
self.assertEqual(event.get_sequence(), 2)
self.assertTrue(event.is_recurring())
self.assertIsInstance(event.get_duration(), datetime.timedelta)