[Zope3-checkins] CVS: Zope3/src/zope/app/container/tests - test_containertraversable.py:1.3 test_containertraverser.py:1.6
Albertas Agejevas
alga@codeworks.lt
Thu, 13 Mar 2003 13:49:36 -0500
Update of /cvs-repository/Zope3/src/zope/app/container/tests
In directory cvs.zope.org:/tmp/cvs-serv1411/src/zope/app/container/tests
Modified Files:
test_containertraversable.py test_containertraverser.py
Log Message:
An unexpected raid by the Whitespace Police.
Other than fixes of nonconforming whitespace, just a couple of $Id$
docstrings has been added.
=== Zope3/src/zope/app/container/tests/test_containertraversable.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/container/tests/test_containertraversable.py:1.2 Wed Dec 25 09:12:47 2002
+++ Zope3/src/zope/app/container/tests/test_containertraversable.py Thu Mar 13 13:49:05 2003
@@ -52,7 +52,7 @@
foo = Container()
bar = Container()
baz = Container()
- c = Container( {'foo':foo}, {'bar':bar, 'foo':baz} )
+ c = Container({'foo': foo}, {'bar': bar, 'foo': baz})
T = ContainerTraversable(c)
self.failUnless(T.traverse('foo', (), 'foo', []) is baz)
=== Zope3/src/zope/app/container/tests/test_containertraverser.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/container/tests/test_containertraverser.py:1.5 Tue Feb 11 21:17:17 2003
+++ Zope3/src/zope/app/container/tests/test_containertraverser.py Thu Mar 13 13:49:05 2003
@@ -56,8 +56,8 @@
def testAttr(self):
# test container traver
foo = Container()
- c = Container( foo=foo )
- req = Request( I, '')
+ c = Container(foo=foo)
+ req = Request(I, '')
T = ContainerTraverser(c, req)
self.failUnless(T.publishTraverse(req,'foo') is foo)
@@ -68,8 +68,8 @@
def testView(self):
# test getting a view
foo = Container()
- c = Container( foo=foo )
- req = Request( I, '')
+ c = Container(foo=foo)
+ req = Request(I, '')
T = ContainerTraverser(c, req)
getService(None,Views).provideView(IContainer, 'viewfoo', I, [View])