Module: check_mk
Branch: master
Commit: 633a9b2200a6ecf7b98b5b3ef4dca802570839d6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=633a9b2200a6ec…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Mon Jul 16 14:20:27 2018 +0200
checktestlib.py: tiny bugfix
Change-Id: Id5b4ff6ea627ace903a0dfb74b5df0f1fa233b43
---
tests/unit/checks/checktestlib.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/unit/checks/checktestlib.py b/tests/unit/checks/checktestlib.py
index b71e8ba..263e3a8 100644
--- a/tests/unit/checks/checktestlib.py
+++ b/tests/unit/checks/checktestlib.py
@@ -514,7 +514,7 @@ def assertEqual(first, second, descr=''):
if isinstance(first, dict):
remainder = set(second.keys())
- for k, v in first:
+ for k in first:
assert k in second, "%sadditional key %r in %r" \
% (descr, k, first)
remainder.remove(k)