Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 503bc16d93f284835091cdd96a178a062f0c50a2
https://github.com/tribe29/checkmk/commit/503bc16d93f284835091cdd96a178a062…
Author: Timotheus Bachinger <timotheus.bachinger(a)tribe29.com>
Date: 2020-07-09 (Thu, 09 Jul 2020)
Changed paths:
M .werks/11138
M agents/plugins/mk_postgres.py
M tests/agent-plugin-unit/Dockerfile
A tests/agent-plugin-unit/test_mk_postgres.py
Log Message:
-----------
Make mk_postgres.py py2.6 -> py3.8 ready
FEATURES:
* Add tests for plugin with Win/Linux cases
* Add module mock and psutil to Dockerfile: This is needed for testing
* Adapt werk with user hints
FIXES:
* Make plugin compatible to currently supported python versions
* Add wrapper around builtin open for cleaner testing
* blank lines in postgres.cfg are now ignored
* Clean-up newlines in agent output
* Fix Shebang of mk_postgres.py in order not to be com2ann-ed
CMK-4858
Change-Id: I6055e01f4991e4083eb4892635c53152e974fa39