Module: check_mk
Branch: master
Commit: 2d9a3cbbe0ce2b7a5535d28664bec6cd160b69b6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2d9a3cbbe0ce2b…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Dec 10 13:42:44 2018 +0100
Use OutputFunnel's context manager almost everywhere.
Only some table stuff left, which is a bit more tricky, to be continued...
Change-Id: I8b875fabda2a90ec29eb0a73ddafe6d62c1dccdc
---
cmk/gui/gui_background_job.py | 21 +++----
cmk/gui/visuals.py | 8 +--
tests/unit/cmk/gui/old/html_tests.py | 11 ++--
tests/unit/cmk/gui/test_htmllib_HTMLGenerator.py | 74 ++++++++++++------------
tests/unit/cmk/gui/test_htmllib_OutputFunnel.py | 38 +++++-------
tests/unit/cmk/gui/tools.py | 39 +++++--------
6 files changed, 83 insertions(+), 108 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=2d9a3cbbe0…