Module: check_mk
Branch: master
Commit: 1579a3fd9f3cc08f5ec6e3cf4adb8b0d8485bd14
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1579a3fd9f3cc0…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Feb 19 07:59:14 2019 +0100
Fix wrong version in faked .version_meta
Change-Id: I49d7f80a4776e8c71d9a8ee0ffd745b070412b2c
---
tests/docker/test_docker.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/docker/test_docker.py b/tests/docker/test_docker.py
index d42137a..a3163b7 100644
--- a/tests/docker/test_docker.py
+++ b/tests/docker/test_docker.py
@@ -337,7 +337,8 @@ def test_update(request, client, version):
user="cmk",
workdir="/omd/sites/cmk")[0] == 0
assert c_orig.exec_run(
- ["bash", "-c", "echo '%s' >
.version_meta/version" % old_version.version],
+ ["bash", "-c",
+ "echo '%s' > .version_meta/version" %
old_version.omd_version()],
user="cmk",
workdir="/omd/sites/cmk")[0] == 0