# HG changeset patch # User Goffi # Date 1380209544 -7200 # Node ID 63b6e684bbfab06e70b1c427cedf7c1682ef6212 # Parent f7804c52c754d793e7aa74d66d7e1c26c8b4809a tests: Use of FailTest for DifferentArgsException instead of Exception, so the test fail instead of raising en error. diff -r f7804c52c754 -r 63b6e684bbfa src/test/helpers.py --- a/src/test/helpers.py Sun Sep 22 01:49:19 2013 +0200 +++ b/src/test/helpers.py Thu Sep 26 17:32:24 2013 +0200 @@ -19,13 +19,14 @@ import __builtin__ from twisted.words.protocols.jabber.jid import JID +from twisted.trial.unittest import FailTest TEST_JID_STR = u"test@example.org/SàT" TEST_JID = JID(u"test@example.org/SàT") TEST_PROFILE = 'test_profile' -class DifferentArgsException(Exception): +class DifferentArgsException(FailTest): pass