summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-08-19 11:57:34 -0400
committerThomas Bruederli <bruederli@kolabsys.com>2014-08-19 11:57:34 -0400
commit36ef0b35a936cc49e490d132d88922968c1eb471 (patch)
tree15da0348f3d8581ea463b2f0c3ca9f35e9a5f3c9 /tests
parentc8560954615b94e21b7605a1e095481c6a022721 (diff)
downloadpykolab-36ef0b35a936cc49e490d132d88922968c1eb471.tar.gz
Set read ACLs for admin user before accessing resource calendars (#3428)
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/test_wallace/test_005_resource_invitation.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/functional/test_wallace/test_005_resource_invitation.py b/tests/functional/test_wallace/test_005_resource_invitation.py
index 0f05993..a4e1ebe 100644
--- a/tests/functional/test_wallace/test_005_resource_invitation.py
+++ b/tests/functional/test_wallace/test_005_resource_invitation.py
@@ -323,7 +323,8 @@ class TestResourceInvitation(unittest.TestCase):
imap = IMAP()
imap.connect()
- imap.imap.m.select(u'"'+mailbox+'"')
+ imap.set_acl(mailbox, "cyrus-admin", "lrs")
+ imap.imap.m.select(imap.folder_quote(mailbox))
found = None
retries = 10