Module: check_mk
Branch: master
Commit: 1c8ba8043fdd8f461f26b8f5d61ef96332eda923
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1c8ba8043fdd8f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Sep 29 13:13:54 2016 +0200
Fixed windows agent file test
---
tests/agents/windows/test_precompiled_age.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/agents/windows/test_precompiled_age.py
b/tests/agents/windows/test_precompiled_age.py
index 12af334..04ac4ba 100644
--- a/tests/agents/windows/test_precompiled_age.py
+++ b/tests/agents/windows/test_precompiled_age.py
@@ -28,7 +28,7 @@ def test_precompiled_file_ages():
for filename in precompiled_files:
path = "%s/agents/windows/%s" % (cmk_path(), filename)
commit_time = last_commit_time(path)
- assert commit_time > newest_source_time, \
+ assert commit_time >= newest_source_time, \
"%s is older than source code file %s" % (path,
newest_source_file)