[tests] use TextTestRunner from unittest, no more need to use SkipAwareTextRunner from lgc.testlib (which doesn't exist anymore in recent releases stable
authorJulien Jehannet <julien.jehannet@logilab.fr>
Wed, 05 Jan 2011 11:09:51 +0100
branchstable
changeset 6776 eebe86b89285
parent 6775 b36fbdcc40a4
child 6777 1d423b7aa6c9
[tests] use TextTestRunner from unittest, no more need to use SkipAwareTextRunner from lgc.testlib (which doesn't exist anymore in recent releases
devtools/test/unittest_testlib.py
--- a/devtools/test/unittest_testlib.py	Mon Jan 03 14:47:47 2011 +0100
+++ b/devtools/test/unittest_testlib.py	Wed Jan 05 11:09:51 2011 +0100
@@ -15,24 +15,23 @@
 #
 # You should have received a copy of the GNU Lesser General Public License along
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
-"""unittests for gct.apptest module
-
-"""
+"""unittests for cw.devtools.testlib module"""
 
 from cStringIO import StringIO
 
-from logilab.common.testlib import (TestCase, unittest_main, TestSuite,
-                                    SkipAwareTextTestRunner)
+from unittest import TextTestRunner
+from logilab.common.testlib import TestSuite, TestCase, unittest_main
 
 from cubicweb.devtools import htmlparser
 from cubicweb.devtools.testlib import CubicWebTC
 from cubicweb.pytestconf import clean_repo_test_cls
 
+
 class WebTestTC(TestCase):
 
     def setUp(self):
         output = StringIO()
-        self.runner = SkipAwareTextTestRunner(stream=output)
+        self.runner = TextTestRunner(stream=output)
 
     def test_error_raised(self):
         class MyWebTest(CubicWebTC):