Module: check_mk
Branch: master
Commit: 39902f295dbb0f27cc69e69aae6b068c4e622347
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=39902f295dbb0f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri May 19 14:33:05 2017 +0200
Tests: Fixed wrong folder test for the root folder
Change-Id: I225948f91e02271037dd694346a42d5b0a984e69
---
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 9f53180..e48d3e4 100644
--- a/tests/testlib/__init__.py
+++ b/tests/testlib/__init__.py
@@ -913,7 +913,7 @@ class CMKWebSession(WebSession):
return response["result"]
- def add_host(self, hostname, folder="/", attributes=None,
create_folders=True, expect_error=False):
+ def add_host(self, hostname, folder="", attributes=None,
create_folders=True, expect_error=False):
result = self._api_request("webapi.py?action=add_host", {
"request": json.dumps({
"hostname" : hostname,