test: fix tests fo plugins XEP-0033 and XEP-0085
This commit is contained in:
parent
6d768028d1
commit
032c34cfdb
1 changed files with 17 additions and 13 deletions
|
|
@ -71,7 +71,7 @@ class XEP_0085Test(helpers.SatTestCase):
|
|||
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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue