Commit 81025cda authored by Andreas Jung's avatar Andreas Jung

fixed indentation

parent 83f6a3ad
......@@ -703,15 +703,15 @@ class RequestTests( unittest.TestCase ):
def testResolveUrl(self):
# Check that ResolveUrl really raises the same error
# it received from ZPublisher.BaseRequest.traverse
# collector entry 1944
# it received from ZPublisher.BaseRequest.traverse
# collector entry 1944
from ZPublisher.HTTPRequest import HTTPRequest
from zExceptions import NotFound
env = TEST_ENVIRON.copy()
req = HTTPRequest(None, env, None)
req['PARENTS'] = ['Nobody', 'cares', 'here']
testmethod = req.resolve_url
self.assertRaises(NotFound, testmethod, 'http://localhost/does_not_exist')
from zExceptions import NotFound
env = TEST_ENVIRON.copy()
req = HTTPRequest(None, env, None)
req['PARENTS'] = ['Nobody', 'cares', 'here']
testmethod = req.resolve_url
self.assertRaises(NotFound, testmethod, 'http://localhost/does_not_exist')
def testDebug(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment