Module: check_mk
Branch: master
Commit: a166e9c95a31c834b18fa895bd99209307396cb5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a166e9c95a31c8…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Mar 15 14:07:13 2019 +0100
Drop failing tests (that would have been dropped soon anyway)
Change-Id: Ie80f04c0d82a90639514b3838cc63131921b5095
---
tests/unit/cmk/gui/watolib/test_tags.py | 37 ---------------------------------
1 file changed, 37 deletions(-)
diff --git a/tests/unit/cmk/gui/watolib/test_tags.py
b/tests/unit/cmk/gui/watolib/test_tags.py
index c1796d6..ade71df 100644
--- a/tests/unit/cmk/gui/watolib/test_tags.py
+++ b/tests/unit/cmk/gui/watolib/test_tags.py
@@ -223,40 +223,3 @@ def test_tag_config_save(test_cfg, mocker):
cfg.load()
assert len(cfg.tag_groups) == 1
assert cfg.tag_groups[0].id == "tgid2"
-
-
-def test_builtin_tags_get_effective_tag_groups():
- cfg = tags.HosttagsConfiguration()
- cfg.insert_tag_group(tags.HosttagGroup(("tgid2", "Topics/titlor",
[("tgid2", "tagid2", [])])))
-
- merged = config.BuiltinTags().get_effective_tag_groups(cfg.get_legacy_format()[0])
-
- merged_cfg = tags.HosttagsConfiguration()
- merged_cfg._parse_legacy_format(merged, [])
- assert sorted(merged_cfg.get_tag_ids()) == sorted([
- None,
- 'piggyback',
- 'no-piggyback',
- 'all-agents',
- 'cmk-agent',
- 'ip-v4-only',
- 'ip-v4v6',
- 'ip-v6-only',
- 'no-agent',
- 'no-ip',
- 'no-snmp',
- 'snmp-v1',
- 'snmp-v2',
- 'special-agents',
- 'tgid2',
- ])
-
-
-def test_builtin_tags_get_effective_aux_tags():
- cfg = tags.HosttagsConfiguration()
- cfg.aux_tag_list.append(tags.AuxTag(("bla", "BLAAAA")))
-
- merged = config.BuiltinTags().get_effective_aux_tags(cfg.get_legacy_format()[1])
-
- assert ('bla', 'BLAAAA') in merged
- assert ('ip-v4', u'Address/IPv4') in merged