[checkmk-commits] Refactored htmllib.

Roland Halbig rh at mathias-kettner.de
Mon Apr 3 12:51:02 CEST 2017


Module: check_mk
Branch: master
Commit: 27d31bf616ee353f3ee7bacb8c54840228b97d9e
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=27d31bf616ee353f3ee7bacb8c54840228b97d9e

Author: Roland Halbig <rh at mathias-kettner.de>
Date:   Thu Feb 23 14:48:45 2017 +0100

Refactored htmllib.
Adjusted test framework, tests for checkbox.
Made class attribute handling foolproof.

Change-Id: I18d1b427e6d3eb3b960cee69d6f1a186fb8f2e5b

---

 tests/web/class_deprecated_renderer.py             |  41 ++
 tests/web/generate_integration.py                  |  32 +-
 tests/web/html_tests.py                            |  99 +--
 tests/web/test_generator.py                        |  13 +
 tests/web/unittest_files/checkbox.unittest         | 768 +++++++++++++++++++++
 .../unittest_files/context_button_test.unittest    | 384 +++++------
 tests/web/unittest_files/select.unittest           |  72 +-
 tests/web/unittest_files/text_area.unittest        |  44 +-
 tests/web/unittest_files/text_input.unittest       |   2 +-
 tests/web/unittest_generation/README.md            |  22 +-
 tests/web/unittest_generation/checkbox.testgen     |  13 +
 web/htdocs/htmllib.py                              | 265 +++----
 web/htdocs/valuespec.py                            |  19 +-
 web/htdocs/watolib.py                              |  14 +-
 web/plugins/views/commands.py                      |  11 +-
 web/plugins/visuals/filters.py                     |   6 +-
 web/plugins/wato/mkeventd.py                       |   2 +-
 17 files changed, 1287 insertions(+), 520 deletions(-)

Diff:   http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=27d31bf616ee353f3ee7bacb8c54840228b97d9e


More information about the checkmk-commits mailing list