mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-08 08:21:23 +00:00
Monotone-Parent: 2a5644700c095d7f9f967370b2341e2850d50787
Monotone-Revision: 0424d9867a100df3f516a49738937c2861ab32d7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-11-17T15:22:15 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2010-11-17 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* Tests/Integration/test-davacl.py (DAVPublicAccessTest.setUp):
|
||||
renamed "init" method to "setUp" to force reinitialization of the
|
||||
client objects before each test.
|
||||
|
||||
2010-11-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/generic.js: (onCASRecoverIFrameLoaded):
|
||||
|
||||
@@ -913,8 +913,7 @@ END:VCARD""" }
|
||||
self._deleteCard(self.subscriber_client, "old.vcf", exp_code)
|
||||
|
||||
class DAVPublicAccessTest(unittest.TestCase):
|
||||
def __init__(self, arg):
|
||||
unittest.TestCase.__init__(self, arg)
|
||||
def setUp(self):
|
||||
self.client = webdavlib.WebDAVClient(hostname, port)
|
||||
self.anon_client = webdavlib.WebDAVClient(hostname, port)
|
||||
self.dav_utility = utilities.TestUtility(self, self.client)
|
||||
@@ -930,7 +929,7 @@ class DAVPublicAccessTest(unittest.TestCase):
|
||||
options = webdavlib.HTTPOPTIONS(resource)
|
||||
self.anon_client.execute(options)
|
||||
self.assertEquals(options.response["status"], 404,
|
||||
"/SOGo/so/public is unexpectedly available")
|
||||
"/SOGo/public is unexpectedly available")
|
||||
|
||||
resource = '/SOGo/dav/%s' % username
|
||||
options = webdavlib.HTTPOPTIONS(resource)
|
||||
|
||||
Reference in New Issue
Block a user