Module: check_mk
Branch: master
Commit: 3c47b8e59d69312ceda9107aa32fc60f4c01c34d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3c47b8e59d6931…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Apr 9 09:37:35 2018 +0200
test_inventory_verbose: Made test ignore order of inventory plugins
Change-Id: I59df287e83dd8cd18afa2576bc614dfada487954
---
tests/integration/cmk_base/test_modes.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/tests/integration/cmk_base/test_modes.py
b/tests/integration/cmk_base/test_modes.py
index f8884d8..e6493b0 100644
--- a/tests/integration/cmk_base/test_modes.py
+++ b/tests/integration/cmk_base/test_modes.py
@@ -553,9 +553,10 @@ def test_inventory_verbose(test_cfg, site):
assert p.wait() == 0
assert stderr == ""
assert stdout.startswith("Doing HW/SW inventory on:
modes-test-host\n")
- assert "check_mk " in stdout
- assert "lnx_if " in stdout
- assert "mem " in stdout
+ stdout_words = stdout.split()
+ assert "check_mk" in stdout_words
+ assert "lnx_if" in stdout_words
+ assert "mem" in stdout_words
#.