[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/tests - testContainerTraverser.py:1.1.2.2
Tres Seaver
tseaver@zope.com
Tue, 12 Feb 2002 15:56:33 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/tests
In directory cvs.zope.org:/tmp/cvs-serv19744/Zope/App/OFS/tests
Modified Files:
Tag: Zope-3x-branch
testContainerTraverser.py
Log Message:
- Normalize file headers.
- Fix violations of "80 character" rule.
=== Zope3/lib/python/Zope/App/OFS/tests/testContainerTraverser.py 1.1.2.1 => 1.1.2.2 ===
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
-#
##############################################################################
+"""
+
+$Id$
+"""
import unittest, sys
from Zope.ComponentArchitecture.tests.Request import Request
@@ -86,8 +89,9 @@
self.failUnless(T.browser_traverse(req,'foo;view').__class__ is View )
self.failUnless(T.browser_traverse(req,'foo') is foo)
- self.assertRaises(NotFoundError , T.browser_traverse, req ,'morebar')
- self.assertRaises(NotFoundError , T.browser_traverse, req ,'morebar;view')
+ self.assertRaises(NotFoundError , T.browser_traverse, req, 'morebar')
+ self.assertRaises(NotFoundError , T.browser_traverse, req,
+ 'morebar;view')