e2e: fix the timeout code for expect_unordered
This commit is contained in:
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
louiz@abricot.3560:1477183697
|
||||||
@@ -100,7 +100,7 @@ class XMPPComponent(slixmpp.BaseXMPP):
|
|||||||
def on_timeout(self, xpaths):
|
def on_timeout(self, xpaths):
|
||||||
error_msg = "Timeout while waiting for a stanza that would match the expected xpath(s):"
|
error_msg = "Timeout while waiting for a stanza that would match the expected xpath(s):"
|
||||||
for xpath in xpaths:
|
for xpath in xpaths:
|
||||||
error_msg += "\n" + xpath
|
error_msg += "\n" + str(xpath)
|
||||||
self.error(error_msg)
|
self.error(error_msg)
|
||||||
self.run_scenario()
|
self.run_scenario()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user