test: fixes test for XEP-0085 (use full JID)
This commit is contained in:
parent
5ae8bc7f24
commit
939556f743
1 changed files with 1 additions and 1 deletions
|
|
@ -74,5 +74,5 @@ class XEP_0085Test(helpers.SatTestCase):
|
|||
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()
|
||||
self.plugin.map[Const.PROFILE[0]][Const.JID[0]].timer.cancel()
|
||||
self.assertEqualXML(xml['xml'].toXml().encode("utf-8"), expected.toXml().encode("utf-8"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue