[Zope3-checkins] CVS: Zope3/src/zope/app/container/tests -
test_containertraversable.py:1.7
Jim Fulton
jim at zope.com
Sat Apr 17 13:16:03 EDT 2004
Update of /cvs-repository/Zope3/src/zope/app/container/tests
In directory cvs.zope.org:/tmp/cvs-serv18496/src/zope/app/container/tests
Modified Files:
test_containertraversable.py
Log Message:
Removed the last vestiges of name parameters. Even though we stopped
supporting parameters in names (name;foo=bar) years ago, we still had
support in the apis. Sheesh.
=== Zope3/src/zope/app/container/tests/test_containertraversable.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/container/tests/test_containertraversable.py:1.6 Wed Mar 3 05:38:39 2004
+++ Zope3/src/zope/app/container/tests/test_containertraversable.py Sat Apr 17 13:15:32 2004
@@ -56,11 +56,10 @@
c = Container({'foo': foo}, {'bar': bar, 'foo': baz})
T = ContainerTraversable(c)
- self.failUnless(T.traverse('foo', (), 'foo', []) is baz)
- self.failUnless(T.traverse('bar', (), 'bar', []) is bar)
+ self.failUnless(T.traverse('foo', []) is baz)
+ self.failUnless(T.traverse('bar', []) is bar)
- self.assertRaises(NotFoundError , T.traverse,
- 'morebar', (), 'morebar', [])
+ self.assertRaises(NotFoundError , T.traverse, 'morebar', [])
def test_suite():
More information about the Zope3-Checkins
mailing list