[CalendarServer-changes] [5914] CalendarServer/branches/new-store/twistedcaldav/test/util.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jul 19 15:41:55 PDT 2010
Revision: 5914
http://trac.macosforge.org/projects/calendarserver/changeset/5914
Author: glyph at apple.com
Date: 2010-07-19 15:41:54 -0700 (Mon, 19 Jul 2010)
Log Message:
-----------
add one 'request' method that we may need during lookup
Modified Paths:
--------------
CalendarServer/branches/new-store/twistedcaldav/test/util.py
Modified: CalendarServer/branches/new-store/twistedcaldav/test/util.py
===================================================================
--- CalendarServer/branches/new-store/twistedcaldav/test/util.py 2010-07-19 22:30:53 UTC (rev 5913)
+++ CalendarServer/branches/new-store/twistedcaldav/test/util.py 2010-07-19 22:41:54 UTC (rev 5914)
@@ -282,6 +282,9 @@
return verifyChildren(root, structure)
+class norequest(object):
+ def addResponseFilter(self, filter):
+ "stub; ignore me"
class HomeTestCase(TestCase):
@@ -324,7 +327,6 @@
it a new transaction.
"""
users = self.homeProvisioner.getChild("users")
- class norequest(object): pass
user, ignored = (yield users.locateChild(norequest(), ["wsanchez"]))
# Force the request to succeed regardless of the implementation of
@@ -391,7 +393,6 @@
it a new transaction.
"""
users = self.homeProvisioner.getChild("users")
- class norequest(object): pass
user, ignored = (yield users.locateChild(norequest(), ["wsanchez"]))
# Force the request to succeed regardless of the implementation of
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100719/6f6e736f/attachment.html>
More information about the calendarserver-changes
mailing list