Branch: refs/heads/2.3.0
Home:
https://github.com/Checkmk/checkmk
Commit: 1f14f781df649c63cf6715283d7524ea77371977
https://github.com/Checkmk/checkmk/commit/1f14f781df649c63cf6715283d7524ea7…
Author: Dhananjay Shah <dhananjay.shah(a)checkmk.com>
Date: 2024-09-10 (Tue, 10 Sep 2024)
Changed paths:
M tests/testlib/openapi_session.py
M tests/testlib/site.py
M tests/testlib/version.py
Log Message:
-----------
tests: added dunder methods to CMKVersion.
`__eq__`, `__gt__`, `__lt__`, `__ge__`, `__le__`
to compare CMKVersion objects.
Change-Id: If1519d7f3bbff4d5aa14c00a62e86a14ccadcaa3
(cherry picked from commit 6c9c2719c418cbb841418202515ff36501205ec5)
Commit: 5aef3d6dbe2158703b4dfbd4b7cafe65c46a54a6
https://github.com/Checkmk/checkmk/commit/5aef3d6dbe2158703b4dfbd4b7cafe65c…
Author: Dhananjay Shah <dhananjay.shah(a)checkmk.com>
Date: 2024-09-10 (Tue, 10 Sep 2024)
Changed paths:
M tests/plugins_integration/conftest.py
M tests/testlib/site.py
M tests/testlib/version.py
M tests/update/conftest.py
M tests/update/test_update_from_backup.py
Log Message:
-----------
tests: `get_min_version` returns `CMKVersion`.
Change-Id: I5951f727ffe5a72961ac915ae36375aaaf8d1c9f
(cherry picked from commit e574ab8ff2fb6de194dda640efb552265da4c26f)
Commit: c7e7fc7626a4a07b5e0a94282e97e2043df44293
https://github.com/Checkmk/checkmk/commit/c7e7fc7626a4a07b5e0a94282e97e2043…
Author: Dhananjay Shah <dhananjay.shah(a)checkmk.com>
Date: 2024-09-10 (Tue, 10 Sep 2024)
Changed paths:
M tests/docker/test_docker.py
M tests/testlib/openapi_session.py
M tests/testlib/version.py
M tests/update/conftest.py
M tests/update/test_update_from_backup.py
Log Message:
-----------
tests: simplify using `CMKVersion`.
+ make `branch`, `branch_version` as optional arguments
+ minor formatting changes.
Change-Id: Ib0a58014cc0f9850dce7317f6cc98d7db847886e
(cherry picked from commit ea2a5e12fc31efbfe5f379a2c9ad39551563d0bb)
Commit: 77379bf5691b1093c4c12bb8655e0c4abeff6272
https://github.com/Checkmk/checkmk/commit/77379bf5691b1093c4c12bb8655e0c4ab…
Author: René Slowenski <rene.slowenski(a)checkmk.com>
Date: 2024-09-10 (Tue, 10 Sep 2024)
Changed paths:
M tests/update/conftest.py
Log Message:
-----------
update tests: Refactored file path & file access logic
Change-Id: I8d5c4c63d8470fbd61ffabc3432d5cc69782c46c
Commit: b669a3402b950cb6ad2bb6bbdcddc2b5291f1607
https://github.com/Checkmk/checkmk/commit/b669a3402b950cb6ad2bb6bbdcddc2b52…
Author: René Slowenski <rene.slowenski(a)checkmk.com>
Date: 2024-09-10 (Tue, 10 Sep 2024)
Changed paths:
M tests/agent-integration/test_plugin_version_compatibility.py
M tests/code_quality/file_content/test_find_debug_code_web.py
M tests/code_quality/file_content/test_find_debug_print.py
M tests/code_quality/file_content/test_permissions.py
M tests/code_quality/file_content/test_scss_variables.py
M tests/code_quality/test_license_headers.py
M tests/code_quality/test_pipfile.py
M tests/code_quality/test_werks.py
M tests/conftest.py
M tests/docker/conftest.py
M tests/extension_compatibility/conftest.py
M tests/gui_e2e/test_rules.py
M tests/gui_e2e/test_werks.py
M tests/integration/cmk/snmplib/conftest.py
M tests/integration/cmk/utils/test_msi_engine_it.py
M tests/integration/omd/test_python.py
M tests/plugins_integration/checks.py
M tests/scripts/install-cmk.py
M tests/scripts/run-bulked.py
M tests/scripts/run-dockerized.py
M tests/testlib/__init__.py
M tests/testlib/containers.py
M tests/testlib/docker.py
M tests/testlib/pylint_checker_cmk_module_layers.py
M tests/testlib/pylint_cmk.py
A tests/testlib/repo.py
M tests/testlib/site.py
M tests/testlib/utils.py
M tests/testlib/version.py
M tests/unit/cmk/base/plugins/agent_based/test_cisco_mem.py
M tests/unit/cmk/base/plugins/agent_based/test_hr_mem.py
M tests/unit/cmk/base/plugins/agent_based/test_if_brocade_lancom.py
M tests/unit/cmk/base/plugins/agent_based/test_local.py
M tests/unit/cmk/base/plugins/agent_based/test_netapp_api_if.py
M tests/unit/cmk/base/plugins/agent_based/test_proxmox_ve_backup_status.py
M tests/unit/cmk/base/plugins/agent_based/test_proxmox_ve_disk_usage.py
M tests/unit/cmk/base/plugins/agent_based/test_proxmox_ve_node_info.py
M tests/unit/cmk/base/test_checks.py
M tests/unit/cmk/fetchers/test_factory.py
M tests/unit/cmk/gui/test_autocompleters.py
M tests/unit/cmk/gui/test_gui_config.py
M tests/unit/cmk/gui/test_i18n.py
M tests/unit/cmk/gui/userdb/test_userdb.py
M tests/unit/cmk/gui/watolib/test_activate_changes.py
M tests/unit/cmk/gui/watolib/test_config_sync.py
M tests/unit/cmk/gui/watolib/test_host_attributes.py
M tests/unit/cmk/gui/watolib/test_timeperiods.py
M tests/unit/cmk/plugins_consistency/test_special_agent_args.py
M tests/unit/cmk/post_rename_site/test_load_plugins.py
M tests/unit/cmk/special_agents/test_agent_proxmox_ve.py
M tests/unit/cmk/utils/prediction/test_services_prediction.py
M tests/unit/cmk/utils/structured_data/test_structured_data.py
M tests/unit/cmk/utils/test_man_pages.py
M tests/unit/conftest.py
M tests/update/conftest.py
M tests/update/test_update.py
M tests/update/test_update_from_backup.py
Log Message:
-----------
testlib: consolidate repository specific functions in `testlib.repo`.
* migrate functions from `utils` to `repo`.
* update corresponding test-cases.
Why ?
Decouple `tests.conftest`, which patches `cmk.utils.paths` and
`cmk.utils.versions` from `tests.testlib.utils`.
`tests.testlib.utils` makes use of `cmk.utils.versions`, which in turn
initializes details within `cmk.utils.paths`.
The aim is to patch the modules first and then use them, for consistent
unit test runs.
CMK-17561
Change-Id: I2d0e91c32a25996165e8e38cf11685410641dbec
(cherry picked from commit e995d8cabfc651d2b8701b72c5edf31d1bd700e6)
Compare:
https://github.com/Checkmk/checkmk/compare/e6a183abdd49...b669a3402b95
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications