Module: check_mk
Branch: master
Commit: 5030981586e601b52d774c8add699baf6880e767
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5030981586e601…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Fri Mar 9 12:39:14 2018 +0100
Adapted test
Change-Id: I07e1738c958cbcc568d79ae45aa31d4e3f2b647e
---
tests/checks/test_if_check.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/checks/test_if_check.py b/tests/checks/test_if_check.py
index 9cc5e30..90ffd8d 100644
--- a/tests/checks/test_if_check.py
+++ b/tests/checks/test_if_check.py
@@ -40,7 +40,7 @@ pytestmark = pytest.mark.checks
([["1", "EINS", "6", "10", "2"] +
13*["0"] + ["EINS-ALIAS", "00:00:00:00:00:00"]], [], 0),
([["1", "EINS", "00000", "10", "1"]
+ 13*["0"] + ["EINS-ALIAS", "00:00:00:00:00:00"]], [], 0),
([["1", "EINS", "6", "10", "1"] +
13*["0"] + ["EINS-ALIAS", "00:00:00:00:00:00"],
- ["1", "EINS-DUPLICATE", "6", "10",
"1"] + 13*["0",] + ["EINS-ALIAS-DUPLICATE",
"00:00:00:00:00:00"]], [], 2),
+ ["1", "EINS-DUPLICATE", "6", "10",
"1"] + 13*["0",] + ["EINS-ALIAS-DUPLICATE",
"00:00:00:00:00:00"]], [], 1),
])
def test_if_inventory_if_common_count_interfaces(check_manager, monkeypatch, info,
inventory_if_rules, result):
check = check_manager.get_check("if")