summaryrefslogtreecommitdiffstats
path: root/tests/unit/test-002-attendee.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-06-09 16:09:03 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-06-09 16:50:13 +0200
commitfd2ca3c222295bc7b52db6f5edd9a2d911046e81 (patch)
treeba7a0806d5c44bb77943d7156c86ba5bb84d8d10 /tests/unit/test-002-attendee.py
parentbddd2e8bd8d7dbdbb7b5d1c0eab337e74d0ef019 (diff)
downloadpykolab-fd2ca3c222295bc7b52db6f5edd9a2d911046e81.tar.gz
Fix unit test for attendee
Diffstat (limited to 'tests/unit/test-002-attendee.py')
-rw-r--r--tests/unit/test-002-attendee.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test-002-attendee.py b/tests/unit/test-002-attendee.py
index cbfa9cc..9da93c7 100644
--- a/tests/unit/test-002-attendee.py
+++ b/tests/unit/test-002-attendee.py
@@ -79,13 +79,13 @@ class TestEventXML(unittest.TestCase):
def test_016_role_map_forward_lookup(self):
self.assertEqual(self.attendee.role_map["REQ-PARTICIPANT"], 0)
self.assertEqual(self.attendee.role_map["CHAIR"], 1)
- self.assertEqual(self.attendee.role_map["OPTIONAL"], 2)
+ self.assertEqual(self.attendee.role_map["OPT-PARTICIPANT"], 2)
self.assertEqual(self.attendee.role_map["NON-PARTICIPANT"], 3)
def test_017_role_map_reverse_lookup(self):
self.assertEqual([k for k,v in self.attendee.role_map.iteritems() if v == 0][0], "REQ-PARTICIPANT")
self.assertEqual([k for k,v in self.attendee.role_map.iteritems() if v == 1][0], "CHAIR")
- self.assertEqual([k for k,v in self.attendee.role_map.iteritems() if v == 2][0], "OPTIONAL")
+ self.assertEqual([k for k,v in self.attendee.role_map.iteritems() if v == 2][0], "OPT-PARTICIPANT")
self.assertEqual([k for k,v in self.attendee.role_map.iteritems() if v == 3][0], "NON-PARTICIPANT")
def test_015_cutype_map_length(self):