Module: check_mk
Branch: master
Commit: 626d05ed0c7b5f87a19efdaa1b8d2413b4293528
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=626d05ed0c7b5f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jan 30 12:07:25 2017 +0100
Fixed error reporting in case of missing files after site setup
Change-Id: I99b395561aa38079a42fc2b60ac3af77b8970e71
---
tests/testlib/__init__.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/testlib/__init__.py b/tests/testlib/__init__.py
index afe1492..e626014 100644
--- a/tests/testlib/__init__.py
+++ b/tests/testlib/__init__.py
@@ -429,7 +429,8 @@ class Site(object):
time.sleep(0.5)
wait_time -= 0.5
- assert not self._missing_but_required_wato_files(), \
+ missing_files = self._missing_but_required_wato_files()
+ assert not missing_files, \
"Failed to initialize WATO data structures " \
"(Still missing: %s)" % missing_files