# HG changeset patch # User Alexandre Fayolle # Date 1272022603 -7200 # Node ID 354cf5ef31dce479d780fe15c7ab2c075e264d68 # Parent ea73a6e39d19b44bfc9018b1254c7e7ce5302327 cleanup debugging trace diff -r ea73a6e39d19 -r 354cf5ef31dc devtools/test/unittest_testlib.py --- a/devtools/test/unittest_testlib.py Fri Apr 23 12:19:54 2010 +0200 +++ b/devtools/test/unittest_testlib.py Fri Apr 23 13:36:43 2010 +0200 @@ -21,7 +21,7 @@ def setUp(self): output = StringIO() self.runner = SkipAwareTextTestRunner(stream=output) - self.output = output + def test_error_raised(self): class MyWebTest(CubicWebTC): @@ -34,7 +34,6 @@ tests = [MyWebTest('test_error_view'), MyWebTest('test_correct_view')] result = self.runner.run(TestSuite(tests)) - print self.output.getvalue() self.assertEquals(result.testsRun, 2) self.assertEquals(len(result.errors), 0) self.assertEquals(len(result.failures), 1)