summaryrefslogtreecommitdiffstats
path: root/tests/unit/test-002-attendee.py
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-02-20 19:05:40 -0500
committerThomas Bruederli <bruederli@kolabsys.com>2014-02-20 19:05:40 -0500
commitadf8978f63aa4bd4fa57bd1bf097f22c6ad3b609 (patch)
treeb588408386cae3d726b9d360ff625cd1cd7e1bd0 /tests/unit/test-002-attendee.py
parent9a16e303517e4b2612dec03be02355887070b8e2 (diff)
downloadpykolab-adf8978f63aa4bd4fa57bd1bf097f22c6ad3b609.tar.gz
Fix invalid attendee role value NONPARTICIPANT => NON-PARTICIPANT
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 4298761..cbfa9cc 100644
--- a/tests/unit/test-002-attendee.py
+++ b/tests/unit/test-002-attendee.py
@@ -80,13 +80,13 @@ class TestEventXML(unittest.TestCase):
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["NONPARTICIPANT"], 3)
+ 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 == 3][0], "NONPARTICIPANT")
+ 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):
self.assertEqual(len(self.attendee.cutype_map.keys()), 3)