diff test/test_multipart.py @ 1873:f63aa57386b0

Backend improvements. - using Zope3's test runner now, allowing GC checks, nicer controls and coverage analysis - all RDMBS backends now have indexes on several columns - added testing of schema mutation, fixed rdbms backends handling of a couple of cases - !BETA! added postgresql backend, needs work !BETA!
author Richard Jones <richard@users.sourceforge.net>
date Sat, 25 Oct 2003 22:53:26 +0000
parents 9b910e8d987d
children 30a444b7b212
line wrap: on
line diff
--- a/test/test_multipart.py	Sat Oct 25 12:33:11 2003 +0000
+++ b/test/test_multipart.py	Sat Oct 25 22:53:26 2003 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: test_multipart.py,v 1.5 2002-09-10 00:19:55 richard Exp $ 
+# $Id: test_multipart.py,v 1.6 2003-10-25 22:53:26 richard Exp $ 
 
 import unittest, cStringIO
 
@@ -108,8 +108,14 @@
         p = m.getPart()
         self.assert_(p is None)
 
-def suite():
-   return unittest.makeSuite(MultipartTestCase, 'test')
+def test_suite():
+    suite = unittest.TestSuite()
+    suite.addTest(unittest.makeSuite(MultipartTestCase))
+    return suite
+
+if __name__ == '__main__':
+    runner = unittest.TextTestRunner()
+    unittest.main(testRunner=runner)
 
 
 # vim: set filetype=python ts=4 sw=4 et si

Roundup Issue Tracker: http://roundup-tracker.org/