devtools/repotest.py
branchstable
changeset 6818 5fa425574548
parent 6804 4262d0d6abcb
child 6957 ffda12be2e9f
--- a/devtools/repotest.py	Thu Jan 13 13:38:49 2011 +0100
+++ b/devtools/repotest.py	Thu Jan 13 14:03:50 2011 +0100
@@ -26,6 +26,7 @@
 from pprint import pprint
 
 from logilab.common.decorators import clear_cache
+from logilab.common.testlib import SkipTest
 
 def tuplify(list):
     for i in range(len(list)):
@@ -156,7 +157,7 @@
             try:
                 cls.dbhelper = get_db_helper(cls.backend)
             except ImportError, ex:
-                cls.skipTest(str(ex))
+                raise SkipTest(str(ex))
 
     def setUp(self):
         self.repo = FakeRepo(self.schema)