Mercurial > p > roundup > code
diff test/test_sqlite.py @ 1883:043e1b699047
more unit test work
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sun, 02 Nov 2003 08:44:17 +0000 |
| parents | f63aa57386b0 |
| children | f9316d2cd5ba |
line wrap: on
line diff
--- a/test/test_sqlite.py Sun Nov 02 08:43:54 2003 +0000 +++ b/test/test_sqlite.py Sun Nov 02 08:44:17 2003 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: test_sqlite.py,v 1.1 2003-10-25 22:53:26 richard Exp $ +# $Id: test_sqlite.py,v 1.2 2003-11-02 08:44:17 richard Exp $ import unittest, os, shutil, time @@ -23,7 +23,9 @@ ClassicInitTest class sqliteOpener: - from roundup.backends import sqlite as module + from roundup import backends + if hasattr(backends, 'sqlite'): + from roundup.backends import sqlite as module class sqliteDBTest(sqliteOpener, DBTest): pass
