summaryrefslogtreecommitdiff
path: root/sleekxmpp/test/sleektest.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2014-02-03 19:15:08 -0600
committerLance Stout <lancestout@gmail.com>2014-02-03 19:15:08 -0600
commitbd03f071c611225984223c6d942cab49b46bfcc8 (patch)
tree2a76615ab2786835216d51c96e98ff2ceee5feff /sleekxmpp/test/sleektest.py
parent12995e280e7dcb9a34933d9e4fa3614d1b958eaa (diff)
downloadslixmpp-bd03f071c611225984223c6d942cab49b46bfcc8.tar.gz
slixmpp-bd03f071c611225984223c6d942cab49b46bfcc8.tar.bz2
slixmpp-bd03f071c611225984223c6d942cab49b46bfcc8.tar.xz
slixmpp-bd03f071c611225984223c6d942cab49b46bfcc8.zip
Fix verifying 'from' for IQ results.
Closes issue #278
Diffstat (limited to 'sleekxmpp/test/sleektest.py')
-rw-r--r--sleekxmpp/test/sleektest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sleekxmpp/test/sleektest.py b/sleekxmpp/test/sleektest.py
index 04fb106d..51cda3ee 100644
--- a/sleekxmpp/test/sleektest.py
+++ b/sleekxmpp/test/sleektest.py
@@ -16,7 +16,7 @@ from sleekxmpp.test import TestSocket, TestLiveSocket
from sleekxmpp.xmlstream import ET
from sleekxmpp.xmlstream import ElementBase
from sleekxmpp.xmlstream.tostring import tostring
-from sleekxmpp.xmlstream.matcher import StanzaPath, MatcherId
+from sleekxmpp.xmlstream.matcher import StanzaPath, MatcherId, MatchIDSender
from sleekxmpp.xmlstream.matcher import MatchXMLMask, MatchXPath
@@ -212,6 +212,7 @@ class SleekTest(unittest.TestCase):
matchers = {'stanzapath': StanzaPath,
'xpath': MatchXPath,
'mask': MatchXMLMask,
+ 'idsender': MatchIDSender,
'id': MatcherId}
Matcher = matchers.get(method, None)
if Matcher is None: