devtools/repotest.py
branchstable
changeset 6414 6003dc203567
parent 6369 a151453dc564
child 6427 c8a5ac2d1eaa
--- a/devtools/repotest.py	Fri Oct 08 07:48:37 2010 +0200
+++ b/devtools/repotest.py	Fri Oct 08 09:43:24 2010 +0200
@@ -158,7 +158,10 @@
         ExecutionPlan._check_permissions = _dummy_check_permissions
         rqlannotation._select_principal = _select_principal
         if self.backend is not None:
-            dbhelper = get_db_helper(self.backend)
+            try:
+                dbhelper = get_db_helper(self.backend)
+            except ImportError, ex:
+                self.skipTest(str(ex))
             self.o = SQLGenerator(self.schema, dbhelper)
 
     def tearDown(self):