summaryrefslogtreecommitdiffstats
path: root/tests/functional
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-03-19 19:46:34 -0400
committerThomas Bruederli <bruederli@kolabsys.com>2014-03-19 19:46:34 -0400
commit3d3b77f78c11151e174184335dfc1c6bd05bfa29 (patch)
treef9b6cbd6f3543d39eb6ef0d64353be640af1fc12 /tests/functional
parent53e46b7870e48d0a76a997737d4c7df53dee3bd8 (diff)
downloadpykolab-3d3b77f78c11151e174184335dfc1c6bd05bfa29.tar.gz
Get resource owner information from parent collection if not set directly
Diffstat (limited to 'tests/functional')
-rw-r--r--tests/functional/test_wallace/test_005_resource_invitation.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/functional/test_wallace/test_005_resource_invitation.py b/tests/functional/test_wallace/test_005_resource_invitation.py
index 8a1d844..aad5fd5 100644
--- a/tests/functional/test_wallace/test_005_resource_invitation.py
+++ b/tests/functional/test_wallace/test_005_resource_invitation.py
@@ -550,6 +550,18 @@ class TestResourceInvitation(unittest.TestCase):
self.assertIn(self.jane['displayname'], respose_text)
+ def test_011_owner_info_from_collection(self):
+ self.purge_mailbox(self.john['mailbox'])
+
+ self.send_itip_invitation(self.room2['mail'], datetime.datetime(2014,6,19, 16,0,0))
+
+ accept = self.check_message_received("Reservation Request for test was ACCEPTED", self.room2['mail'])
+ self.assertIsInstance(accept, email.message.Message)
+ respose_text = str(accept.get_payload(0))
+ self.assertIn(self.jane['mail'], respose_text)
+ self.assertIn(self.jane['displayname'], respose_text)
+
+
def TODO_test_012_owner_notification(self):
self.purge_mailbox(self.john['mailbox'])
self.purge_mailbox(self.jane['mailbox'])