Skip to content

Commit a524e50

Browse files
author
Richard Jones
committed
merge from HEAD
1 parent 51bf66f commit a524e50

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test/test_mailgw.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# but WITHOUT ANY WARRANTY; without even the implied warranty of
99
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1010
#
11-
# $Id: test_mailgw.py,v 1.73.2.2 2005-06-24 06:48:17 richard Exp $
11+
# $Id: test_mailgw.py,v 1.73.2.3 2005-10-07 05:49:15 richard Exp $
1212

1313
# TODO: test bcc
1414

@@ -685,8 +685,11 @@ def testNewUserAuthor(self):
685685
self.assertEqual(l, m)
686686

687687
# now with the permission
688-
p = self.db.security.getPermission('Create', 'user')
689-
self.db.security.role['anonymous'].permissions=[p]
688+
p = [
689+
self.db.security.getPermission('Create', 'user'),
690+
self.db.security.getPermission('Email Access', None),
691+
]
692+
self.db.security.role['anonymous'].permissions=p
690693
self._handle_mail(message)
691694
m = self.db.user.list()
692695
m.sort()

0 commit comments

Comments
 (0)