changeset 1254:87fbe4640448

test: fixes test for XEP-0085 (use full JID)
author souliane <souliane@mailoo.org>
date Mon, 20 Oct 2014 20:46:10 +0200
parents c13a46207410
children 38fb8823cee8
files src/test/test_plugin_xep_0085.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"))