[CalendarServer-changes] [6084] CalendarServer/trunk/twext/web2/test/test_resource.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Aug 16 10:52:27 PDT 2010
Revision: 6084
http://trac.macosforge.org/projects/calendarserver/changeset/6084
Author: glyph at apple.com
Date: 2010-08-16 10:52:25 -0700 (Mon, 16 Aug 2010)
Log Message:
-----------
fix unit tests: remove tests for TRACE since TRACE was turned off in r6062
Revision Links:
--------------
http://trac.macosforge.org/projects/calendarserver/changeset/6062
Modified Paths:
--------------
CalendarServer/trunk/twext/web2/test/test_resource.py
Modified: CalendarServer/trunk/twext/web2/test/test_resource.py
===================================================================
--- CalendarServer/trunk/twext/web2/test/test_resource.py 2010-08-16 17:43:52 UTC (rev 6083)
+++ CalendarServer/trunk/twext/web2/test/test_resource.py 2010-08-16 17:52:25 UTC (rev 6084)
@@ -30,10 +30,10 @@
return responsecode.INTERNAL_SERVER_ERROR
return responsecode.NO_CONTENT
- http_BLEARGH = _handler
+ http_BLEARGH = _handler
http_HUCKHUCKBLORP = _handler
- http_SWEETHOOKUPS = _handler
- http_HOOKUPS = _handler
+ http_SWEETHOOKUPS = _handler
+ http_HOOKUPS = _handler
def preconditions_BLEARGH(self, request):
raise PreconditionError()
@@ -64,7 +64,7 @@
Test RenderMixin.
"""
_my_allowed_methods = set((
- "HEAD", "OPTIONS", "TRACE", "GET",
+ "HEAD", "OPTIONS", "GET",
"BLEARGH", "HUCKHUCKBLORP",
"SWEETHOOKUPS", "HOOKUPS",
))
@@ -145,6 +145,9 @@
response = generateResponse("TRACE")
self.assertEquals(response.code, responsecode.OK)
+ test_TRACE_status.skip = "TRACE is disabled now."
+
+
def test_TRACE_body(self):
"""
RenderMixin.http_TRACE()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100816/9a86e0b2/attachment.html>
More information about the calendarserver-changes
mailing list