[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/ApplicationControl/tests - testApplicationControl.py:1.3 testRuntimeInfo.py:1.3 testZopeVersion.py:1.3
Jeremy Hylton
jeremy@zope.com
Wed, 17 Jul 2002 12:54:47 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/ApplicationControl/tests
In directory cvs.zope.org:/tmp/cvs-serv5906/lib/python/Zope/App/OFS/ApplicationControl/tests
Modified Files:
testApplicationControl.py testRuntimeInfo.py
testZopeVersion.py
Log Message:
Simplify test_suite() implementations when there is only one class.
=== Zope3/lib/python/Zope/App/OFS/ApplicationControl/tests/testApplicationControl.py 1.2 => 1.3 ===
def test_suite():
- return TestSuite((
- makeSuite(Test),
- ))
+ return makeSuite(Test)
if __name__=='__main__':
main(defaultTest='test_suite')
=== Zope3/lib/python/Zope/App/OFS/ApplicationControl/tests/testRuntimeInfo.py 1.2 => 1.3 ===
self.failUnless(abs(asserted_uptime - test_uptime) < time_tolerance)
def test_suite():
- return TestSuite((
- makeSuite(Test),
- ))
+ return makeSuite(Test)
if __name__=='__main__':
main(defaultTest='test_suite')
=== Zope3/lib/python/Zope/App/OFS/ApplicationControl/tests/testZopeVersion.py 1.2 => 1.3 ===
def test_suite():
- return TestSuite((
- makeSuite(Test),
- ))
+ return makeSuite(Test)
if __name__=='__main__':
main(defaultTest='test_suite')