diff --git a/pykolab/xml/attendee.py b/pykolab/xml/attendee.py --- a/pykolab/xml/attendee.py +++ b/pykolab/xml/attendee.py @@ -13,6 +13,7 @@ "DELEGATED": N_("Delegated"), "IN-PROCESS": N_("Started"), "COMPLETED": N_("Completed"), + "PENDING": N_("Pending"), # support integer values, too kolabformat.PartNeedsAction: N_("Needs Action"), kolabformat.PartAccepted: N_("Accepted"), diff --git a/tests/functional/test_wallace/test_007_invitationpolicy.py b/tests/functional/test_wallace/test_007_invitationpolicy.py --- a/tests/functional/test_wallace/test_007_invitationpolicy.py +++ b/tests/functional/test_wallace/test_007_invitationpolicy.py @@ -911,7 +911,7 @@ notification_text = str(notification.get_payload()) self.assertIn(self.jane['mail'], notification_text) - self.assertIn(_("PENDING"), notification_text) + self.assertIn(_("Pending"), notification_text) self.purge_mailbox(self.john['mailbox']) @@ -923,7 +923,7 @@ self.assertIsInstance(notification, email.message.Message) notification_text = str(notification.get_payload()) - self.assertNotIn(_("PENDING"), notification_text) + self.assertNotIn(_("Pending"), notification_text) def test_008_notify_translated(self): self.purge_mailbox(self.mark['mailbox'])