summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-03-12 01:34:24 +0100
committerlouiz’ <louiz@louiz.org>2018-03-12 01:34:24 +0100
commit9b17a9618769094126edd1f0a9b3ffd4bf7d81ee (patch)
tree0b17ddaf97ecac6bad854deac90c757118bcb4f0 /tests
parent06438fe8ecf5eea62456e6da41c13bad916664fc (diff)
downloadbiboumi-9b17a9618769094126edd1f0a9b3ffd4bf7d81ee.tar.gz
biboumi-9b17a9618769094126edd1f0a9b3ffd4bf7d81ee.tar.bz2
biboumi-9b17a9618769094126edd1f0a9b3ffd4bf7d81ee.tar.xz
biboumi-9b17a9618769094126edd1f0a9b3ffd4bf7d81ee.zip
Add a few \n in the e2e error messages
Diffstat (limited to 'tests')
-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 af61547..99d1dd1 100644
--- a/tests/end_to_end/__main__.py
+++ b/tests/end_to_end/__main__.py
@@ -152,7 +152,7 @@ def check_xpath(xpaths, xmpp, after, stanza):
xpath = xpath[1:]
matched = match(stanza, xpath)
if (expected and not matched) or (not expected and matched):
- raise StanzaError("Received stanza “%s” did not match expected xpath “%s”" % (stanza, real_xpath))
+ raise StanzaError("Received stanza\n%s\ndid not match expected xpath\n%s" % (stanza, real_xpath))
if after:
if isinstance(after, collections.Iterable):
for af in after: