[Zope-Checkins] CVS: Zope/lib/python/ZODB/tests - testTransaction.py:1.1.8.1

Jeffrey P Shell jeffrey@zope.com
Wed, 8 Aug 2001 14:12:26 -0400


Update of /cvs-repository/Zope/lib/python/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv29071

Modified Files:
      Tag: Zope-2_4-branch
	testTransaction.py 
Log Message:
Added a test_suite() function (the lack of which was causing
testTransaction.py to be ignored by testrunner.py).


=== Zope/lib/python/ZODB/tests/testTransaction.py 1.1 => 1.1.8.1 ===
     pass
 
+def test_suite():
+    return unittest.makeSuite(AllTests, 'check')
+
 def main():
-    tests = unittest.makeSuite(AllTests, 'check')
+    tests = test_suite()
     runner = unittest.TextTestRunner()
     runner.run(tests)