e2e: fix the timeout code for expect_unordered

This commit is contained in:
louiz’ committed 2020-03-02 23:20:47 +01:00
1 parent 76b81cec55
commit 3584979cc2
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -0,0 +1 @@
louiz@abricot.3560:1477183697
+1 -1
View File
@@ -100,7 +100,7 @@ class XMPPComponent(slixmpp.BaseXMPP):
def on_timeout(self, xpaths):
error_msg = "Timeout while waiting for a stanza that would match the expected xpath(s):"
for xpath in xpaths:
error_msg += "\n" + xpath
error_msg += "\n" + str(xpath)
self.error(error_msg)
self.run_scenario()