[CalendarServer-changes] [5331] CalendarServer/trunk/calendarserver/provision/test/test_root.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 17 09:57:20 PDT 2010
Revision: 5331
http://trac.macosforge.org/projects/calendarserver/changeset/5331
Author: wsanchez at apple.com
Date: 2010-03-17 09:57:19 -0700 (Wed, 17 Mar 2010)
Log Message:
-----------
I have no idea where self.patch() is implemented. Switch to using config.update()
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/provision/test/test_root.py
Modified: CalendarServer/trunk/calendarserver/provision/test/test_root.py
===================================================================
--- CalendarServer/trunk/calendarserver/provision/test/test_root.py 2010-03-17 16:41:31 UTC (rev 5330)
+++ CalendarServer/trunk/calendarserver/provision/test/test_root.py 2010-03-17 16:57:19 UTC (rev 5331)
@@ -118,9 +118,9 @@
OPTIONS request should include a DAV header that mentions the
addressbook capability.
"""
- self.patch(config, 'EnableCardDAV', True)
- response = yield self.issueRequest([''], 'OPTIONS')
- self.assertIn('addressbook', response.headers.getHeader('DAV'))
+ config.update({"EnableCardDAV": True})
+ response = yield self.issueRequest([""], "OPTIONS")
+ self.assertIn("addressbook", response.headers.getHeader("DAV"))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100317/c0742d8f/attachment.html>
More information about the calendarserver-changes
mailing list