Module: check_mk
Branch: master
Commit: 1fd74c96f91638fdd5760eac15df25582cacf706
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1fd74c96f91638…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Mar 12 10:00:57 2019 +0100
Another integration test fix for new meta_data attribute
Change-Id: Ia0b922e9a0b5a7f2842dcf1fce0e38bd6ae81d4a
---
tests/testlib/__init__.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/testlib/__init__.py b/tests/testlib/__init__.py
index a2341c9..e69baed 100644
--- a/tests/testlib/__init__.py
+++ b/tests/testlib/__init__.py
@@ -1448,6 +1448,10 @@ class CMKWebSession(WebSession):
assert result is None
folder = self.get_folder(folder_path)
+
+ # Ignore the automatically generated meta_data attribute for the moment
+ del folder["attributes"]["meta_data"]
+
assert folder["attributes"] == attributes
def get_folder(self, folder_path, effective_attributes=False):