[Zope3-checkins] SVN: Zope3/branches/ZopeX3-3.0/ Backport rev 26210.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Wed Aug 11 16:12:11 EDT 2004
Log message for revision 27025:
Backport rev 26210.
Changed:
U Zope3/branches/ZopeX3-3.0/Makefile
U Zope3/branches/ZopeX3-3.0/src/zope/app/publication/tests/test_httpfactory.py
-=-
Modified: Zope3/branches/ZopeX3-3.0/Makefile
===================================================================
--- Zope3/branches/ZopeX3-3.0/Makefile 2004-08-11 20:10:49 UTC (rev 27024)
+++ Zope3/branches/ZopeX3-3.0/Makefile 2004-08-11 20:12:10 UTC (rev 27025)
@@ -1,4 +1,4 @@
-PYTHON=python2.3
+PYTHON=Python2.3
TESTFLAGS=-p -v
TESTOPTS=
SETUPFLAGS=
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/publication/tests/test_httpfactory.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/publication/tests/test_httpfactory.py 2004-08-11 20:10:49 UTC (rev 27024)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/publication/tests/test_httpfactory.py 2004-08-11 20:12:10 UTC (rev 27025)
@@ -11,10 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
+"""Tests for the HTTP Publication Request Factory.
+
$Id$
"""
-
from unittest import TestCase, TestSuite, main, makeSuite
from zope.app.publication.httpfactory import HTTPPublicationRequestFactory
from zope.publisher.browser import BrowserRequest
@@ -50,7 +50,7 @@
def test_http(self):
- for method in ('PUT', 'put', 'XXX'):
+ for method in ('PUT', 'put', 'ZZZ'):
self.__env['REQUEST_METHOD'] = method
r = self.__factory(StringIO(''), StringIO(), self.__env)
self.assertEqual(r.__class__, HTTPRequest)
@@ -72,7 +72,7 @@
self.assertEqual(r.__class__, BrowserRequest)
self.assertEqual(r.publication.__class__, BrowserPublication)
- for method in ('PUT', 'put', 'XXX'):
+ for method in ('PUT', 'put', 'ZZZ'):
self.__env['REQUEST_METHOD'] = method
r = self.__factory(StringIO(''), StringIO(), self.__env)
self.assertEqual(r.__class__, HTTPRequest)
More information about the Zope3-Checkins
mailing list