[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/RDB/tests - testRow.py:1.3 testSQLCommand.py:1.3 testZopeConnection.py:1.3 testZopeDBTransactionManager.py:1.2
Jeremy Hylton
jeremy@zope.com
Wed, 17 Jul 2002 12:54:50 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/RDB/tests
In directory cvs.zope.org:/tmp/cvs-serv5906/lib/python/Zope/App/RDB/tests
Modified Files:
testRow.py testSQLCommand.py testZopeConnection.py
testZopeDBTransactionManager.py
Log Message:
Simplify test_suite() implementations when there is only one class.
=== Zope3/lib/python/Zope/App/RDB/tests/testRow.py 1.2 => 1.3 ===
)
def test_suite():
- return TestSuite((
- makeSuite(RowTests),
- ))
+ return makeSuite(RowTests)
if __name__=='__main__':
main(defaultTest='test_suite')
=== Zope3/lib/python/Zope/App/RDB/tests/testSQLCommand.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/RDB/tests/testZopeConnection.py 1.2 => 1.3 ===
get_transaction().abort()
def test_suite():
- return TestSuite((
- makeSuite(ZopeConnectionTests),
- ))
+ return makeSuite(ZopeConnectionTests)
if __name__=='__main__':
main(defaultTest='test_suite')
=== Zope3/lib/python/Zope/App/RDB/tests/testZopeDBTransactionManager.py 1.1 => 1.2 ===
""" commit failed """)
def test_suite():
- return TestSuite((
- makeSuite(TxnMgrTest),
- ))
+ return makeSuite(TxnMgrTest)
if __name__=='__main__':
main(defaultTest='test_suite')