Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 8978956d6b370457e1b040714be8616ad055d926
https://github.com/Checkmk/checkmk/commit/8978956d6b370457e1b040714be8616ad…
Author: Dhananjay Shah <dhananjay.shah(a)checkmk.com>
Date: 2024-06-13 (Thu, 13 Jun 2024)
Changed paths:
M .pylintrc
M tests/conftest.py
Log Message:
-----------
tests: patch `cmk.utils` ONLY for unit testing.
+ patching `cmk.utils`
`cmk.utils.paths` is patched first, then `cmk.utils.versions`.
`versions` is patched later as it uses `cmk.utils.paths`.
This makes sure that patched `paths` are used in `versions`
+ add method `_patch_cmk_utils` to detect `unit` test runs
parse test-type passed to `-T` pytest argument, and
also detect `xdist` runs used for parallelizing unit-test runs.
+ update python paths explicitly in `pylintrc`.
Minor
+ added logging within `tests.conftest`
CMK-17561
Change-Id: I5114810e5a77b1f4cf9816c30d3c55d3955ea91f
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications