Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/test_suite.py
diff options
context:
space:
mode:
authorThomas Jourdan <b.vehikel@googlemail.com>2009-12-25 20:20:41 (GMT)
committer Thomas Jourdan <b.vehikel@googlemail.com>2009-12-25 20:20:41 (GMT)
commitffc85d335df5dfc9fc71e294745b0dff800ba7b3 (patch)
tree1eec88566370d41103a76e293f397e738594afcf /test_suite.py
parentb08435c13ff3e976818413e944ba85a0112780e7 (diff)
More debug output added to collaboration.
Diffstat (limited to 'test_suite.py')
-rw-r--r--test_suite.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test_suite.py b/test_suite.py
index 43501c0..db76c1f 100644
--- a/test_suite.py
+++ b/test_suite.py
@@ -16,6 +16,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
import os
import sys
+import traceback
import unittest
import cairo
import gtk
@@ -202,6 +203,7 @@ class TestKandidModel(unittest.TestCase):
except:
self.fail('failed writing [%s] [%s] [%s]' % \
(out_file.name, sys.exc_info()[0], sys.exc_info()[1]))
+ traceback.print_exc(file=sys.__stderr__)
finally:
if out_file:
out_file.close()
@@ -615,10 +617,10 @@ class TestKandidModel(unittest.TestCase):
ka_status.SUB_BUDDIES_JOINED, '2')
expected = '''
Collaboration
-Buddies joined: 2
+ Buddies joined: 2
Tasks
-Unfinished tasks: 5
+ Unfinished tasks: 5
'''
self.assertEqual(expected, status.recall())
self.assertFalse(status.isDirty())