Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 54025128ab4f4584ec5826c2cd09246fbbc019be
https://github.com/tribe29/checkmk/commit/54025128ab4f4584ec5826c2cd09246fb…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-10-27 (Tue, 27 Oct 2020)
Changed paths:
M tests/unit/cmk/base/test_checks.py
Log Message:
-----------
unit tests: remove test against from imports
Checks these days have their own contexts, so from imports are not as bad as they used to
be.
In addition, from imports are quite handy when migrating code to the new API one function
at a time, so we allow them.
Change-Id: Ic52b3be060070d344a9f966f963f0dc3b12930b2
Commit: 5d0d954daafc79442a3727861c0133caaccfcdb6
https://github.com/tribe29/checkmk/commit/5d0d954daafc79442a3727861c0133caa…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2020-10-27 (Tue, 27 Oct 2020)
Changed paths:
M inventory/dmidecode
Log Message:
-----------
dmidecode: add typing and refactor
Note that all the "parse" functions are no parse functions in our usual
sense.
* add type annotations
* refacor main function `inv_dmidecode` to prepare to factor out "parse
function"
* refactor `inv_dmidecode_parse_general` into `_make_dict`, which will
be useful when migrating to new API.
This change is probably best read from bottom to top.
Change-Id: Id2ce33f9bbb590dd0e5602286ffddc4a12aee6f3
Compare:
https://github.com/tribe29/checkmk/compare/af4841f0ccf5...5d0d954daafc