Skip to content

Commit

Permalink
Merge branch 'develop' into feature/issue-1017-add-event-exporting
Browse files Browse the repository at this point in the history
  • Loading branch information
hodgestar committed Nov 23, 2015
2 parents ce2ea2a + b2e790b commit fdb454a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vumi/transports/xmpp/tests/test_xmpp.py
@@ -1,3 +1,4 @@
from twisted.python import log
from twisted.internet.defer import inlineCallbacks, returnValue
from twisted.internet.task import Clock
from twisted.words.xish import domish
Expand Down Expand Up @@ -208,6 +209,7 @@ def test_xmpp_connection_lost(self):
with LogCatcher() as lc:
yield transport.xmpp_protocol.connectionLost('Test connection')

[log] = lc.logs
[connection_lost_log] = lc.logs
self.assertEqual(
log['log_text'], 'XMPP Connection lost. Test connection')
log.textFromEventDict(connection_lost_log),
'XMPP Connection lost. Test connection')

0 comments on commit fdb454a

Please sign in to comment.