[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZopePublication/Browser/tests - testZopePublication.py:1.2
Jeremy Hylton
jeremy@zope.com
Wed, 17 Jul 2002 12:54:51 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/ZopePublication/Browser/tests
In directory cvs.zope.org:/tmp/cvs-serv5906/lib/python/Zope/App/ZopePublication/Browser/tests
Modified Files:
testZopePublication.py
Log Message:
Simplify test_suite() implementations when there is only one class.
=== Zope3/lib/python/Zope/App/ZopePublication/Browser/tests/testZopePublication.py 1.1 => 1.2 ===
def test_suite():
t2 = unittest.makeSuite(BrowserPublicationTests, 'test')
t3 = unittest.makeSuite(BrowserDefaultTests, 'test')
- return unittest.TestSuite((t2,t3))
+ return unittest.TestSuite((t2, t3))
if __name__=='__main__':
unittest.TextTestRunner().run( test_suite() )