Module: check_mk
Branch: master
Commit: 8ab6a607cb0cc8b6a07bd5e201b3a84c72cd5193
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8ab6a607cb0cc8…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Mar 14 16:54:37 2019 +0100
Fixed unstable test
Change-Id: I9041f9c22f7ae7335ab34221dc4bbaca0fd9ac43
---
tests/unit/cmk/gui/watolib/test_tags.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/unit/cmk/gui/watolib/test_tags.py
b/tests/unit/cmk/gui/watolib/test_tags.py
index e9976df..1e642dd 100644
--- a/tests/unit/cmk/gui/watolib/test_tags.py
+++ b/tests/unit/cmk/gui/watolib/test_tags.py
@@ -81,7 +81,7 @@ def test_tag_config_get_hosttag_topics(test_cfg):
}))
cfg.tag_groups.append(tags.HosttagGroup(("tgid2",
"Topics/titlor", [("tgid2", "tagid2", [])])))
- assert cfg.get_hosttag_topics() == sorted([("Topigzr",
"Topigzr"), ("Topics", "Topics")])
+ assert sorted(cfg.get_hosttag_topics()) == sorted([("Topigzr",
"Topigzr"), ("Topics", "Topics")])
def test_tag_config_remove_tag_group(test_cfg):