# HG changeset patch # User souliane # Date 1413830770 -7200 # Node ID 87fbe46404480b4bfa752b26da56e194b27bfe88 # Parent c13a46207410742979f975f163596de8df19e228 test: fixes test for XEP-0085 (use full JID) diff -r c13a46207410 -r 87fbe4640448 src/test/test_plugin_xep_0085.py --- a/src/test/test_plugin_xep_0085.py Mon Oct 20 20:26:46 2014 +0200 +++ b/src/test/test_plugin_xep_0085.py Mon Oct 20 20:46:10 2014 +0200 @@ -74,5 +74,5 @@ 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"))