* icinga2_feature: fix module in check_mode * modify check_mode logic Fixes: #39830 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* move set_module_args to units.modules.utils * unit tests: reuse set_module_args * unit tests: mock exit/fail_json in module.utils.ModuleTestCase * unit tests: use module.utils.ModuleTestCase * unit tests: fix 'import shadowed by loop variable'