Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 1e13cc07719d2dee6394f1f3f6af955b12cf4505
https://github.com/Checkmk/checkmk/commit/1e13cc07719d2dee6394f1f3f6af955b1…
Author: Dhananjay Shah <dhananjay.shah(a)checkmk.com>
Date: 2024-02-16 (Fri, 16 Feb 2024)
Changed paths:
M tests/unit/checks/conftest.py
M tests/unit/cmk/base/conftest.py
M tests/unit/cmk/base/test_ip_lookup.py
M tests/unit/conftest.py
Log Message:
-----------
Remove redundant instances of fixture 'clear_config_caches'.
+ explicitely added 'yield' to fixtures; Caches are cleared before a test
execution.
Change-Id: I4d4bacfe379d7d7a12a124753b46fbb7b3f2714d
Commit: 223a6d8420592e472486f5689d5387b3d8a5daa2
https://github.com/Checkmk/checkmk/commit/223a6d8420592e472486f5689d5387b3d…
Author: Dhananjay Shah <dhananjay.shah(a)checkmk.com>
Date: 2024-02-16 (Fri, 16 Feb 2024)
Changed paths:
M tests/unit/cmk/gui/conftest.py
M tests/unit/cmk/post_rename_site/plugins/actions/conftest.py
M tests/unit/cmk/special_agents/conftest.py
M tests/unit/cmk/update_config/conftest.py
Log Message:
-----------
Combine 'autouse'd fixtures within 'tests/unit/cmk/gui/conftest'.
+ 'deactivate_search_index_building_at_requenst_end' and
'gui_cleanup_after_test'
+ reduces time in fixture-collection.
Change-Id: Ibda43403765dc55d7f1ebac0dc0cf7591555b385
Commit: 33ec7b6c278cb94084450d3f7bc704cba14a43e7
https://github.com/Checkmk/checkmk/commit/33ec7b6c278cb94084450d3f7bc704cba…
Author: Dhananjay Shah <dhananjay.shah(a)checkmk.com>
Date: 2024-02-16 (Fri, 16 Feb 2024)
Changed paths:
M tests/unit/cmk/gui/conftest.py
M tests/unit/cmk/gui/test_dashboard.py
M tests/unit/cmk/gui/test_permissions.py
Log Message:
-----------
Disable 'autouse' of redundant fixtures.
unit/cmk/gui/conftest
- 'reset_gui_registries'.
Preserve the source-code for future usage and split into two fixtures:
+ one for defining the registry-list on a per-moudle basis.
+ one for reseting the registries.
- 'mock__add_extensions_for_license_usage'
Seems to be an artifact and can be removed.
They do not have any effect on test-runs status
Change-Id: I2418e809a0cdf83618ed53cfb542e4dc7b9d1bda
Commit: a9583c162c38756994ea637ce30f64749de8cf43
https://github.com/Checkmk/checkmk/commit/a9583c162c38756994ea637ce30f64749…
Author: Dhananjay Shah <dhananjay.shah(a)checkmk.com>
Date: 2024-02-16 (Fri, 16 Feb 2024)
Changed paths:
M tests/unit/cmk/gui/conftest.py
M tests/unit/cmk/gui/graphing/test_perfometer.py
M tests/unit/cmk/gui/graphing/test_rrd_fetch.py
M tests/unit/cmk/gui/graphing/test_utils.py
M tests/unit/cmk/gui/livestatus_utils/test_testing.py
M tests/unit/cmk/gui/mkeventd/test_icon_mkeventd.py
M tests/unit/cmk/gui/openapi/test_headers.py
M tests/unit/cmk/gui/openapi/test_openapi_host_config.py
M tests/unit/cmk/gui/openapi/test_openapi_user.py
M tests/unit/cmk/gui/openapi/test_spec_files.py
M tests/unit/cmk/gui/openapi/test_swagger_ui.py
M tests/unit/cmk/gui/plugins/metrics/test_unit.py
M tests/unit/cmk/gui/plugins/views/test_painters.py
M tests/unit/cmk/gui/plugins/visuals/test_filters.py
M tests/unit/cmk/gui/test_forms.py
M tests/unit/cmk/gui/test_gui_config.py
M tests/unit/cmk/gui/test_gui_inventory.py
M tests/unit/cmk/gui/test_http.py
M tests/unit/cmk/gui/test_i18n.py
M tests/unit/cmk/gui/test_index.py
M tests/unit/cmk/gui/test_logged_in.py
M tests/unit/cmk/gui/test_login_unit.py
M tests/unit/cmk/gui/test_sites.py
M tests/unit/cmk/gui/test_view_utils.py
M tests/unit/cmk/gui/test_visuals.py
M tests/unit/cmk/gui/userdb/test_ldap_golden.py
M tests/unit/cmk/gui/utils/test_theme.py
M tests/unit/cmk/gui/utils/test_transaction_manager.py
M tests/unit/cmk/gui/utils/test_urls.py
M tests/unit/cmk/gui/utils/test_utils_labels.py
M tests/unit/cmk/gui/valuespecs/test_vs_absolutedate.py
M tests/unit/cmk/gui/valuespecs/test_vs_age.py
M tests/unit/cmk/gui/valuespecs/test_vs_alternative.py
M tests/unit/cmk/gui/valuespecs/test_vs_cascadingdropdown.py
M tests/unit/cmk/gui/valuespecs/test_vs_checkbox.py
M tests/unit/cmk/gui/valuespecs/test_vs_dictionary.py
M tests/unit/cmk/gui/valuespecs/test_vs_dropdownchoice.py
M tests/unit/cmk/gui/valuespecs/test_vs_filesize.py
M tests/unit/cmk/gui/valuespecs/test_vs_fixedvalue.py
M tests/unit/cmk/gui/valuespecs/test_vs_float.py
M tests/unit/cmk/gui/valuespecs/test_vs_iconselector.py
M tests/unit/cmk/gui/valuespecs/test_vs_integer.py
M tests/unit/cmk/gui/valuespecs/test_vs_listchoice.py
M tests/unit/cmk/gui/valuespecs/test_vs_listof.py
M tests/unit/cmk/gui/valuespecs/test_vs_listofstrings.py
M tests/unit/cmk/gui/valuespecs/test_vs_optional.py
M tests/unit/cmk/gui/valuespecs/test_vs_optionaldropdownchoice.py
M tests/unit/cmk/gui/valuespecs/test_vs_password.py
M tests/unit/cmk/gui/valuespecs/test_vs_textinput.py
M tests/unit/cmk/gui/valuespecs/test_vs_timespan.py
M tests/unit/cmk/gui/valuespecs/test_vs_transform.py
M tests/unit/cmk/gui/valuespecs/test_vs_tuple.py
M tests/unit/cmk/gui/views/perfometer/legacy_perfometers/test_perfometer_fileinfo.py
M tests/unit/cmk/gui/views/test_row_post_processing.py
M tests/unit/cmk/gui/views/test_views.py
M tests/unit/cmk/gui/wato/pages/test_automation.py
M tests/unit/cmk/gui/wato/pages/test_global_settings.py
M tests/unit/cmk/gui/wato/test_ac_test.py
M tests/unit/cmk/gui/watolib/test_activate_changes.py
M tests/unit/cmk/gui/watolib/test_automatic_host_removal.py
M tests/unit/cmk/gui/watolib/test_backup_snapshots.py
M tests/unit/cmk/gui/watolib/test_changes.py
M tests/unit/cmk/gui/watolib/test_gui_rulesets.py
M tests/unit/cmk/gui/watolib/test_sample_config.py
M tests/unit/cmk/gui/watolib/test_tags.py
M tests/unit/cmk/gui/watolib/test_user_roles.py
M tests/unit/cmk/gui/watolib/test_watolib.py
M tests/unit/cmk/gui/watolib/test_watolib_automations.py
M tests/unit/cmk/gui/wsgi/test_profile_switcher.py
M tests/unit/cmk/gui/wsgi/test_wsgi_router.py
M tests/unit/cmk/update_config/plugins/actions/test_audit_log.py
M tests/unit/cmk/update_config/plugins/actions/test_hosts_and_folders.py
Log Message:
-----------
Disable 'autouse' of fixture 'request_context'.
+ invoke usgae of fixture explcitely from test-functions.
CMK-14177
Change-Id: I8a25303b5062eac0a93c361589ff38fbd8996d11
Compare:
https://github.com/Checkmk/checkmk/compare/69ae55004988...a9583c162c38