tests: Use of FailTest for DifferentArgsException instead of Exception, so the test fail instead of raising en error.
This commit is contained in:
parent
e3286d5554
commit
0f22c904bc
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue