summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2016-07-22 15:28:21 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-07-22 15:28:21 +0200
commiteb2aeb99ae7eb3b278a5ec9ca52c81ebd669dcf5 (patch)
tree9b9840d6e37eb0e421b926c9ed12645cfb1c82ba /tests
parentd71e26c1a39ddf0cda75b66399810745861631a7 (diff)
downloadpykolab-eb2aeb99ae7eb3b278a5ec9ca52c81ebd669dcf5.tar.gz
T1373: Fix untraslated "PENDING" label in invitation notification
Summary: Fixes T1373 Note: This could be also fixed by using "NEEDS-ACTION" label in wallace intead of "PENDING". Reviewers: #pykolab_developers, vanmeeuwen Reviewed By: #pykolab_developers, vanmeeuwen Maniphest Tasks: T1373 Differential Revision: https://git.kolab.org/D198
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/test_wallace/test_007_invitationpolicy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/test_wallace/test_007_invitationpolicy.py b/tests/functional/test_wallace/test_007_invitationpolicy.py
index e11e906..ad279c6 100644
--- a/tests/functional/test_wallace/test_007_invitationpolicy.py
+++ b/tests/functional/test_wallace/test_007_invitationpolicy.py
@@ -911,7 +911,7 @@ class TestWallaceInvitationpolicy(unittest.TestCase):
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 @@ class TestWallaceInvitationpolicy(unittest.TestCase):
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'])