Commit e90a36c2 authored by Andreas Jung's avatar Andreas Jung

fixed indentation

parent 27855a9f
......@@ -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 test_suite():
......
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