diff --git a/src/test/test_plugin_xep_0085.py b/src/test/test_plugin_xep_0085.py index 37a7ef00..0720c342 100644 --- a/src/test/test_plugin_xep_0085.py +++ b/src/test/test_plugin_xep_0085.py @@ -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"))