Commit e90a36c2 authored by Andreas Jung's avatar Andreas Jung

fixed indentation

parent 27855a9f
...@@ -703,15 +703,15 @@ class RequestTests( unittest.TestCase ): ...@@ -703,15 +703,15 @@ class RequestTests( unittest.TestCase ):
def testResolveUrl(self): def testResolveUrl(self):
# Check that ResolveUrl really raises the same error # Check that ResolveUrl really raises the same error
# it received from ZPublisher.BaseRequest.traverse # it received from ZPublisher.BaseRequest.traverse
# collector entry 1944 # collector entry 1944
from ZPublisher.HTTPRequest import HTTPRequest from ZPublisher.HTTPRequest import HTTPRequest
from zExceptions import NotFound from zExceptions import NotFound
env = TEST_ENVIRON.copy() env = TEST_ENVIRON.copy()
req = HTTPRequest(None, env, None) req = HTTPRequest(None, env, None)
req['PARENTS'] = ['Nobody', 'cares', 'here'] req['PARENTS'] = ['Nobody', 'cares', 'here']
testmethod = req.resolve_url testmethod = req.resolve_url
self.assertRaises(NotFound, testmethod, 'http://localhost/does_not_exist') self.assertRaises(NotFound, testmethod, 'http://localhost/does_not_exist')
def test_suite(): 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