Mercurial > libervia-backend
changeset 647:63b6e684bbfa
tests: Use of FailTest for DifferentArgsException instead of Exception, so the test fail instead of raising en error.
| author | Goffi <goffi@goffi.org> |
|---|---|
| date | Thu, 26 Sep 2013 17:32:24 +0200 |
| parents | f7804c52c754 |
| children | 29cea30f20f5 |
| files | src/test/helpers.py |
| diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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
