Mercurial > libervia-backend
diff src/test/test_plugin_xep_0085.py @ 924:861593a5652b
test: fix tests fo plugins XEP-0033 and XEP-0085
author | souliane <souliane@mailoo.org> |
---|---|
date | Sat, 22 Mar 2014 18:47:17 +0100 |
parents | 6f96ee4d8cc0 |
children | 87fbe4640448 |
line wrap: on
line diff
--- a/src/test/test_plugin_xep_0085.py Sat Mar 22 17:48:10 2014 +0100 +++ b/src/test/test_plugin_xep_0085.py Sat Mar 22 18:47:17 2014 +0100 @@ -71,7 +71,7 @@ expected = deepcopy(mess_data['xml']) expected.addElement(state, plugin.NS_CHAT_STATES) treatments = defer.Deferred() - self.plugin.sendMessageTrigger(mess_data, treatments, Const.PROFILE[0]) + self.plugin.sendMessageTrigger(mess_data, defer.Deferred(), treatments, Const.PROFILE[0]) xml = treatments.callbacks[0][0][0](mess_data) # cancel the timer to not block the process self.plugin.map[Const.PROFILE[0]][Const.JID[0].userhostJID()].timer.cancel()