Module: check_mk
Branch: master
Commit: d37c377bf465f800f15e1498e35528e4d1017235
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d37c377bf465f8…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Feb 1 11:01:39 2019 +0100
Removed debug output and wrong asserts
Change-Id: I140fe6d0ac6b34f0c428866536eecfbe75cf3374
---
tests/integration/cmk_base/test_automations.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/tests/integration/cmk_base/test_automations.py
b/tests/integration/cmk_base/test_automations.py
index 8c9db82..5d37871 100644
--- a/tests/integration/cmk_base/test_automations.py
+++ b/tests/integration/cmk_base/test_automations.py
@@ -256,7 +256,7 @@ def test_automation_analyse_service_no_check(test_cfg, site):
def test_automation_try_discovery_not_existing_host(test_cfg, site):
- data = _execute_automation(site, "try-inventory",
+ _execute_automation(site, "try-inventory",
args=["xxx-not-existing-host"],
expect_stderr_pattern=r"Failed to lookup IPv4 address of
xxx-not-existing-host " \
r"via DNS: (\[Errno -2\] Name or service not
known"
@@ -265,9 +265,6 @@ def test_automation_try_discovery_not_existing_host(test_cfg, site):
expect_exit_code=2,
parse_data=False,
)
- assert isinstance(data, dict)
- assert isinstance(data["output"], str)
- assert isinstance(data["check_table"], list)
def test_automation_try_discovery_host(test_cfg, site):