Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: f26bdbf5fa2d2586ce3ef261c36ae533e49d3a1d
https://github.com/tribe29/checkmk/commit/f26bdbf5fa2d2586ce3ef261c36ae533e…
Author: Konstantin Baikov <konstantin.baikov(a)tribe29.com>
Date: 2021-09-27 (Mon, 27 Sep 2021)
Changed paths:
M cmk/utils/bi/bi_packs.py
M cmk/utils/mailbox.py
M tests/integration/cmk/base/test_discovery_parameters.py
M tests/integration/cmk/gui/test_webapi.py
M tests/testlib/web_session.py
M tests/unit/checks/test_mongodb_connections.py
M tests/unit/cmk/utils/test_msi_patch.py
Log Message:
-----------
Fix assert False calls
Do not call assert False since
python -O removes these calls.
Instead callers should raise AssertionError().
Also some of the raise were inside except clause,
so were raised .. from original exception.
Change-Id: Ib85b739e8217a7176ca6424473a350978fd28a63
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: 3cb0006b5c9e0d7d37f91e8e8907314ed575fd08
https://github.com/tribe29/checkmk/commit/3cb0006b5c9e0d7d37f91e8e8907314ed…
Author: Konstantin Baikov <konstantin.baikov(a)tribe29.com>
Date: 2021-09-24 (Fri, 24 Sep 2021)
Changed paths:
M cmk/gui/table.py
M cmk/gui/userdb.py
M livestatus/api/python/livestatus.py
Log Message:
-----------
Add optional type if the default is None
If default argument is None
the type annotation must be Optional
This is mostly consistency and explicitness.
Change-Id: I660bc83a6655e91df2704a57bc7636ce6eeaf8c1
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: f4b1451e9af1ceaa87b948982d2a78e0388d2229
https://github.com/tribe29/checkmk/commit/f4b1451e9af1ceaa87b948982d2a78e03…
Author: Konstantin Baikov <konstantin.baikov(a)tribe29.com>
Date: 2021-09-24 (Fri, 24 Sep 2021)
Changed paths:
M tests/testlib/site.py
Log Message:
-----------
Fix bandid security error
This was a test of a bandit job test analyser
display.
Change-Id: I96897bd9a337744a7e3572b754fdea1b4dab62e4
Branch: refs/heads/master
Home: https://github.com/tribe29/checkmk
Commit: f399a12b6302492c6ec2c4a3e9e57e272bfb084f
https://github.com/tribe29/checkmk/commit/f399a12b6302492c6ec2c4a3e9e57e272…
Author: Konstantin Baikov <konstantin.baikov(a)tribe29.com>
Date: 2021-09-24 (Fri, 24 Sep 2021)
Changed paths:
M buildscripts/scripts/test-python3-bandit.jenkins
M tests/testlib/site.py
Log Message:
-----------
Wrap process results in finally
This makes sure that process results
step is always run.
Before the process results was skipped if
the exit code of execute test was not zero.
Change-Id: I98dfc216acb2b6db4548952c8947d44da2a7ace2