summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 09fa809)
raw | patch | inline | side by side (parent: 09fa809)
author | jlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 26 Oct 2003 14:13:04 +0000 (14:13 +0000) | ||
committer | jlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 26 Oct 2003 14:13:04 +0000 (14:13 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1945 57a73879-2fb5-44c3-a270-3262357dd7e2
test/test_mysql.py | patch | blob | history |
diff --git a/test/test_mysql.py b/test/test_mysql.py
index 6e723ef57c2ca941c49d65a3af8aaf48a57227c8..2e16e5d71af7f9982bd20525b47dddffd577d103 100644 (file)
--- a/test/test_mysql.py
+++ b/test/test_mysql.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: test_mysql.py,v 1.1 2003-10-25 22:53:26 richard Exp $
+# $Id: test_mysql.py,v 1.2 2003-10-26 14:13:04 jlgijsbers Exp $
import unittest, os, shutil, time, imp
from roundup.hyperdb import DatabaseError
-from roundup import init
+from roundup import init, backends
from db_test_base import DBTest, ROTest, config, SchemaTest, nodbconfig, \
ClassicInitTest
class mysqlOpener:
- from roundup.backends import mysql as module
+ if hasattr(backends, 'mysql'):
+ from roundup.backends import mysql as module
def tearDown(self):
self.db.close()
def test_suite():
suite = unittest.TestSuite()
-
- from roundup import backends
if not hasattr(backends, 'mysql'):
return suite