Module: check_mk
Branch: master
Commit: 3d1044cd52c6e6bd668e32e5323ce50c6b9957c5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3d1044cd52c6e6…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jan 25 11:32:18 2019 +0100
Fix new unit test sorting issue
Change-Id: I799f7d289946b9075761972c6f3c979e77671352
---
tests/unit/cmk/gui/test_visuals.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/unit/cmk/gui/test_visuals.py b/tests/unit/cmk/gui/test_visuals.py
index 795ea3f..2844d52 100644
--- a/tests/unit/cmk/gui/test_visuals.py
+++ b/tests/unit/cmk/gui/test_visuals.py
@@ -3413,8 +3413,8 @@ def test_registered_filters(load_plugins):
assert filt.description == spec["comment"]
assert filt.sort_index == spec["sort_index"]
assert filt.info == spec["info"]
- assert filt.link_columns == spec["link_columns"]
- assert filt.htmlvars == spec["htmlvars"]
+ assert sorted(filt.link_columns) == sorted(spec["link_columns"])
+ assert sorted(filt.htmlvars) == sorted(spec["htmlvars"])
if "column" in spec:
assert filt.column == spec["column"]