[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher/tests - testBaseRequest.py:1.5 testIPublication.py:1.4 testRequestDataProperty.py:1.3
Jeremy Hylton
jeremy@zope.com
Wed, 17 Jul 2002 12:54:54 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/Publisher/tests
In directory cvs.zope.org:/tmp/cvs-serv5906/lib/python/Zope/Publisher/tests
Modified Files:
testBaseRequest.py testIPublication.py
testRequestDataProperty.py
Log Message:
Simplify test_suite() implementations when there is only one class.
=== Zope3/lib/python/Zope/Publisher/tests/testBaseRequest.py 1.4 => 1.5 ===
def test_suite():
- return TestSuite((
- makeSuite(TestBaseRequest),
- ))
+ return makeSuite(TestBaseRequest)
if __name__=='__main__':
main(defaultTest='test_suite')
=== Zope3/lib/python/Zope/Publisher/tests/testIPublication.py 1.3 => 1.4 ===
self.assertEqual(self._publication._callTraversalHooks, 1)
def test_suite():
- return TestSuite((
- makeSuite(Test),
- ))
+ return makeSuite(Test)
if __name__=='__main__':
main(defaultTest='test_suite')
=== Zope3/lib/python/Zope/Publisher/tests/testRequestDataProperty.py 1.2 => 1.3 ===
def test_suite():
- return TestSuite((
- makeSuite(Test),
- ))
+ return makeSuite(Test)
if __name__=='__main__':
main(defaultTest='test_suite')