Module: check_mk
Branch: master
Commit: 5192fd5a5892325e5996e75047d6b10b71bad2ed
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5192fd5a589232…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Mar 11 15:39:54 2019 +0100
Another hack to get a working set of modules for tests in the site
This is just a temporary(tm) fix until we clean up the whole site
integration test stuff.
Change-Id: I2fa3a1a8181a690835b76e2830ad2b0b1e2393f0
---
tests/testlib/__init__.py | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/tests/testlib/__init__.py b/tests/testlib/__init__.py
index bcff23c..2ceefbe 100644
--- a/tests/testlib/__init__.py
+++ b/tests/testlib/__init__.py
@@ -730,11 +730,14 @@ class Site(object):
bin_dir = venv / "bin"
packages_dir = venv / "lib/python2.7/site-packages"
+ enforce_override = ["backports"]
+
for file_name in os.listdir(str(packages_dir)):
# Only copy modules that do not exist in regular module path
- if os.path.exists("%s/lib/python/%s" % (self.root, file_name)) \
- or os.path.exists("%s/lib/python2.7/site-packages/%s" % (self.root, file_name)):
- continue
+ if file_name not in enforce_override:
+ if os.path.exists("%s/lib/python/%s" % (self.root, file_name)) \
+ or os.path.exists("%s/lib/python2.7/site-packages/%s" % (self.root, file_name)):
+ continue
assert os.system("sudo rsync -a --chown %s:%s %s %s/local/lib/python/" % # nosec
(self.id, self.id, packages_dir / file_name, self.root)) >> 8 == 0
Module: check_mk
Branch: master
Commit: ed91385fb52c41836c2732e5aea28acc246c5e01
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ed91385fb52c41…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Sun Mar 10 12:00:04 2019 +0100
7235 WATO now stores host/folder creation meta information
When either a host or folder is being created in WATO it now stores the
creation time and creator ina meta data attribute. This attribute is shown at
the bottom of the the host or folder edit dialog.
Hosts or folders created before 1.6 don't have such information stored and will
show something like "Created sometime before 1.6".
Change-Id: I9c26dc71dfdc50da5f98a67297494e38d299272a
---
.werks/7235 | 15 +++++
cmk/gui/plugins/wato/__init__.py | 1 +
cmk/gui/plugins/wato/builtin_attributes.py | 77 +++++++++++++++++++++-
cmk/gui/plugins/wato/utils/__init__.py | 1 +
cmk/gui/wato/__init__.py | 7 +-
cmk/gui/watolib/host_attributes.py | 25 ++++++-
cmk/gui/watolib/hosts_and_folders.py | 21 ++++++
tests/unit/cmk/gui/watolib/test_host_attributes.py | 27 ++++++--
8 files changed, 164 insertions(+), 10 deletions(-)
Diff: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=ed91385fb5…