From 939556f743d64c0f3282d2cf7ebf95aba38336dc Mon Sep 17 00:00:00 2001 From: souliane Date: Mon, 20 Oct 2014 20:46:10 +0200 Subject: [PATCH] test: fixes test for XEP-0085 (use full JID) --- src/test/test_plugin_xep_0085.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"))