summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-08-06 16:58:10 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-08-06 16:58:10 (GMT)
commit31077c43c6ece15a6e5d9488e1c211e38abb2651 (patch)
tree63ad7eb9f37a7f73370c454ccd91155eca066ca2
parent41a8d8edc3938880b363ccd0cc688f73f4e37867 (diff)
downloadpykolab-31077c43c6ece15a6e5d9488e1c211e38abb2651.tar.gz
Test DELEGATED-* parameters
-rw-r--r--tests/unit/test-003-event.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/unit/test-003-event.py b/tests/unit/test-003-event.py
index 4736b19..fa5d0fe 100644
--- a/tests/unit/test-003-event.py
+++ b/tests/unit/test-003-event.py
@@ -460,8 +460,10 @@ END:VEVENT
break
self.assertEqual(len(itip_event['attendee']), 2)
- self.assertEqual(itip_event['attendee'][0].lower(), 'mailto:jane@doe.org')
- self.assertEqual(itip_event['attendee'][1].lower(), 'mailto:jack@ripper.com')
+ self.assertEqual(str(itip_event['attendee'][0]).lower(), 'mailto:jane@doe.org')
+ self.assertEqual(str(itip_event['attendee'][1]).lower(), 'mailto:jack@ripper.com')
+ self.assertEqual(itip_event['attendee'][0].params['delegated-to'], 'jack@ripper.com')
+ self.assertEqual(itip_event['attendee'][1].params['delegated-from'], 'jane@doe.org')
def test_020_calendaring_recurrence(self):