summaryrefslogtreecommitdiff
path: root/tests/end_to_end
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-10-21 18:50:04 +0200
committerlouiz’ <louiz@louiz.org>2016-10-21 18:50:04 +0200
commitac32d257386fe1c8df2632cf1d6452b1875eb645 (patch)
tree28d344a524c692414a288e222c3d0092da6be8ba /tests/end_to_end
parent82a6fa6d098c82914ff8a6ed44398eb0cf8c4d9a (diff)
downloadbiboumi-ac32d257386fe1c8df2632cf1d6452b1875eb645.tar.gz
biboumi-ac32d257386fe1c8df2632cf1d6452b1875eb645.tar.bz2
biboumi-ac32d257386fe1c8df2632cf1d6452b1875eb645.tar.xz
biboumi-ac32d257386fe1c8df2632cf1d6452b1875eb645.zip
Fix the broken commit 4388b9c
Diffstat (limited to 'tests/end_to_end')
-rw-r--r--tests/end_to_end/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py
index fedfa6a..fd515e2 100644
--- a/tests/end_to_end/__main__.py
+++ b/tests/end_to_end/__main__.py
@@ -129,7 +129,7 @@ def match(stanza, xpath):
def check_xpath(xpaths, xmpp, after, stanza):
- for xpath in enumerate(xpaths):
+ for xpath in xpaths:
matched = match(stanza, xpath)
if not matched:
raise StanzaError("Received stanza “%s” did not match expected xpath “%s”" % (stanza, xpath))