Module: check_mk
Branch: master
Commit: e91aa996192355d4de9fc96ab4188a6a6a53951a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e91aa996192355…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue May 30 15:45:53 2017 +0200
Small test change for (hopefully) easier debugging
Change-Id: I76246b19b30b6e1a72418c0030b89fe9c35daac2
---
tests/web/test_webapi.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/web/test_webapi.py b/tests/web/test_webapi.py
index d4bbf35..3469243 100644
--- a/tests/web/test_webapi.py
+++ b/tests/web/test_webapi.py
@@ -47,7 +47,8 @@ def test_add_host_no_folder_create(web):
expect_error=True,
)
- assert "Folder not existing" in "%s" % e
+ exc_msg = "%s" % e
+ assert "Folder not existing" in exc_msg
def test_get_all_hosts_basic(web):