Module: check_mk
Branch: master
Commit: 8d352753a0ee8b784b592eec9069600e4a19d38d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8d352753a0ee8b…
Author: Óscar Nájera <on(a)mathias-kettner.de>
Date: Thu Sep 20 17:52:51 2018 +0200
Extract substitute context from mail, asciimail & pushover
Include tests
Change-Id: I4077562527b6fe84cf1e13e6946bb004fe43d252
---
cmk/notification_plugins/asciimail.py | 24 +++----------
cmk/notification_plugins/mail.py | 55 +++++-------------------------
cmk/notification_plugins/pushover.py | 13 ++-----
cmk/notification_plugins/utils.py | 39 +++++++++++++++++++++
tests/unit/cmk/notifications/test_utils.py | 29 ++++++++++++++--
5 files changed, 81 insertions(+), 79 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=8d352753a0…