tests: Use of FailTest for DifferentArgsException instead of Exception, so the test fail instead of raising en error.

This commit is contained in:
Goffi 2013-09-26 17:32:24 +02:00
commit 0f22c904bc

View file

@ -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