Module: check_mk
Branch: master
Commit: f593cf5d3fa817bc79b2023cbfba6d51dfd796e6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f593cf5d3fa817…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Mar 6 08:52:33 2017 +0100
Fixed assertion in test code.
Change-Id: If90c235903207be37e9e48c07e07b576ec900cb1
---
tests/testlib/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/testlib/__init__.py b/tests/testlib/__init__.py
index fdfd74a..d587049 100644
--- a/tests/testlib/__init__.py
+++ b/tests/testlib/__init__.py
@@ -663,7 +663,7 @@ class WebSession(requests.Session):
if allow_errors and matches:
print "Found error message, but it's allowed: %s" %
matches.groups()
else:
- assert not matches, "Found error message: %s" % matches.groups()
+ assert not matches, "Found error message(s): %s" %
"\n".join(matches.groups())
def _check_html_page_resources(self, response):