Monotone-Parent: 2a5644700c095d7f9f967370b2341e2850d50787

Monotone-Revision: 0424d9867a100df3f516a49738937c2861ab32d7

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-11-17T15:22:15
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2010-11-17 15:22:15 +00:00
parent ed58cee3eb
commit 6439edc10b
2 changed files with 8 additions and 3 deletions

View File

@ -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):

View File

@ -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)