From c89c04eb0fdf20068faae927b1a3496b40b7ca23 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 26 Oct 2010 20:26:28 +0000 Subject: [PATCH] Monotone-Parent: a2351180662729e60a3de3eb724d4fda87a59fdd Monotone-Revision: 4d3e361eacc8e091139686387705b76acb920a8d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-10-26T20:26:28 Monotone-Branch: ca.inverse.sogo --- Tests/Integration/test-contact-categories.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/Integration/test-contact-categories.py b/Tests/Integration/test-contact-categories.py index 0771ac06f..6e3896d05 100755 --- a/Tests/Integration/test-contact-categories.py +++ b/Tests/Integration/test-contact-categories.py @@ -13,7 +13,7 @@ class HTTPContactCategoriesTest(unittest.TestCase): categories = [] elements = [ { "{urn:ietf:params:xml:ns:inverse-dav}category": x } for x in categories ] - props = { "{urn:ietf:params:xml:ns:inverse-dav}contact-categories": elements } + props = { "{urn:ietf:params:xml:ns:inverse-dav}contacts-categories": elements } proppatch = webdavlib.WebDAVPROPPATCH(resource, props) client = webdavlib.WebDAVClient(hostname, port, username, password) client.execute(proppatch) @@ -24,7 +24,7 @@ class HTTPContactCategoriesTest(unittest.TestCase): def _getCategories(self, user): resource = '/SOGo/dav/%s/Contacts/' % user - props = [ "{urn:ietf:params:xml:ns:inverse-dav}contact-categories" ] + props = [ "{urn:ietf:params:xml:ns:inverse-dav}contacts-categories" ] propfind = webdavlib.WebDAVPROPFIND(resource, props, "0") client = webdavlib.WebDAVClient(hostname, port, username, password) client.execute(propfind) @@ -33,7 +33,7 @@ class HTTPContactCategoriesTest(unittest.TestCase): % (propfind.response["status"], user)) categories = [] - prop_nodes = propfind.response["document"].findall("{DAV:}response/{DAV:}propstat/{DAV:}prop/{urn:ietf:params:xml:ns:inverse-dav}contact-categories") + prop_nodes = propfind.response["document"].findall("{DAV:}response/{DAV:}propstat/{DAV:}prop/{urn:ietf:params:xml:ns:inverse-dav}contacts-categories") for prop_node in prop_nodes: cat_nodes = prop_node.findall("{urn:ietf:params:xml:ns:inverse-dav}category") if cat_nodes is not None: