[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/tests - testAdding.py:1.2 testContents.py:1.5
Jeremy Hylton
jeremy@zope.com
Wed, 17 Jul 2002 12:54:48 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/tests
In directory cvs.zope.org:/tmp/cvs-serv5906/lib/python/Zope/App/OFS/Container/Views/Browser/tests
Modified Files:
testAdding.py testContents.py
Log Message:
Simplify test_suite() implementations when there is only one class.
=== Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/tests/testAdding.py 1.1 => 1.2 ===
self.assertEqual(container.data, ('foo', 42))
def test_suite():
- return TestSuite((
- makeSuite(Test),
- ))
+ return makeSuite(Test)
if __name__=='__main__':
main(defaultTest='test_suite')
=== Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/tests/testContents.py 1.4 => 1.5 ===
return Contents(container, TestRequest())
def test_suite():
- return TestSuite((
- makeSuite(Test),
- ))
+ return makeSuite(Test)
if __name__=='__main__':
main(defaultTest='test_suite')