Log message for revision 68586: fixed indentation Changed: U Zope/branches/2.9/lib/python/ZPublisher/tests/testHTTPRequest.py
-=- Modified: Zope/branches/2.9/lib/python/ZPublisher/tests/testHTTPRequest.py =================================================================== --- Zope/branches/2.9/lib/python/ZPublisher/tests/testHTTPRequest.py 2006-06-12 05:26:24 UTC (rev 68585) +++ Zope/branches/2.9/lib/python/ZPublisher/tests/testHTTPRequest.py 2006-06-12 05:27:48 UTC (rev 68586) @@ -703,15 +703,15 @@ 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(): _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins