[CalendarServer-changes] [7909] CalendarServer/branches/users/glyph/imip-and-admin-html/ calendarserver

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 11 21:41:47 PDT 2011


Revision: 7909
          http://trac.macosforge.org/projects/calendarserver/changeset/7909
Author:   glyph at apple.com
Date:     2011-08-11 21:41:47 -0700 (Thu, 11 Aug 2011)
Log Message:
-----------
add a very basic test for the web-admin code

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/imip-and-admin-html/calendarserver/tap/util.py

Added Paths:
-----------
    CalendarServer/branches/users/glyph/imip-and-admin-html/calendarserver/webadmin/test/

Modified: CalendarServer/branches/users/glyph/imip-and-admin-html/calendarserver/tap/util.py
===================================================================
--- CalendarServer/branches/users/glyph/imip-and-admin-html/calendarserver/tap/util.py	2011-08-12 04:41:36 UTC (rev 7908)
+++ CalendarServer/branches/users/glyph/imip-and-admin-html/calendarserver/tap/util.py	2011-08-12 04:41:47 UTC (rev 7909)
@@ -675,10 +675,11 @@
 
 class FakeRequest(object):
 
-    def __init__(self, rootResource, method, path):
+    def __init__(self, rootResource, method, path, uri='/'):
         self.rootResource = rootResource
         self.method = method
         self.path = path
+        self.uri = uri
         self._resourcesByURL = {}
         self._urlsByResource = {}
         self.headers = Headers()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110811/38b76065/attachment.html>


More information about the calendarserver-changes mailing list