Module: check_mk
Branch: master
Commit: e2b7944ef57592bbcaac59797ff02608b123377d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e2b7944ef57592…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Thu Jul 5 14:23:20 2018 +0200
checktestlib: add Immutables object and assertEqual function
Immutables: Register variables, and ensure they have not
been tampered with (e.g. info variable after
call to discovery function).
assertEqual: Helper function to compare compound datatypes
and better see their difference.
Change-Id: I0fd627c928c66305d9eaadea67cd9ba5d252ef0e
---
tests/unit/checks/checktestlib.py | 153 +++++++++++++++++++++++++++-----------
1 file changed, 109 insertions(+), 44 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=e2b7944ef5…