Felix Fontein
8ab8010b6d
Use more unit test utils from community.internal_test_tools ( #9918 )
...
* Make conftest's patch_ansible_module use the context manager from .utils.
* Fix test dependencies.
* Use module mock utils from community.internal_test_tools.
* Use DataDictLoader from community.internal_test_tools.
* Use trust util from community.internal_test_tools.
2025-03-22 13:12:31 +01:00
Felix Fontein
a1781d09dd
Unit tests: make set_module_args() a context manager, and remove copies of it in some tests ( #9838 )
...
Make set_module_args() a context manager, and remove copies of set_module_args().
Prepares for Data Tagging.
2025-03-07 07:21:03 +01:00
Andrew Hyatt
36c7e56005
dnf_config_manager: use --assumeyes when changing state ( #9124 )
...
* dnf_config_manager: use --assumeyesm when changing state
* changelog fragment
* update tests
* format fix
* Update changelogs/fragments/9124-dnf_config_manager.yml
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
---------
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2024-11-17 15:27:53 +01:00
Andrew Hyatt
acc3173030
Add dnf_config_manager module ( #7745 )
...
* Add dnf_config_manager module
* add BOTMETA
* document return values
* improve error messages
* fix doc indent
* make regexes raw strings
* formatting improve
* fix indent
* update version_added
* Tweaks from feedback and unit testing
* fix copyright and python2.7
* remove shebang
* documentation updates
* Change return values to not have varying keys
* sort returned lists
2023-12-29 09:42:02 +01:00