Mercurial > p > roundup > code
diff test/test_locking.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 | f8cc0b724b28 |
| children | 6e3e4f24c753 |
line wrap: on
line diff
--- a/test/test_locking.py Sat Oct 25 12:33:11 2003 +0000 +++ b/test/test_locking.py Sat Oct 25 22:53:26 2003 +0000 @@ -18,7 +18,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -# $Id: test_locking.py,v 1.3 2002-12-09 02:51:46 richard Exp $ +# $Id: test_locking.py,v 1.4 2003-10-25 22:53:26 richard Exp $ import os, unittest, tempfile @@ -46,8 +46,13 @@ def tearDown(self): os.remove(self.path) -def suite(): - return unittest.makeSuite(LockingTest) +def test_suite(): + suite = unittest.TestSuite() + suite.addTest(unittest.makeSuite(LockingTest)) + return suite +if __name__ == '__main__': + runner = unittest.TextTestRunner() + unittest.main(testRunner=runner) # vim: set filetype=python ts=4 sw=4 et si
