1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests/unit/plugins
patchback[bot] 5c8504323e
ModuleHelper variables management (#2162) (#2178)
* added metadata for variables in module helper

* adjustments

* added separate support for tracking changes

* rewrote the diff code

* added integration test for module_helper

* using ansible.module_utils.common.dict_transformations.dict_merge

* improved dependency management

* restore ModuleHelper to base classes of CmdStateModuleHelper

* added assertions to ensure the failing module name appears in the error messages

* added test code for state-based modules

* fixed test name

* renamed class to VarMeta

* small fixes

* fixes from the PR

* fixed VarDict.__set_attr__

* added VarDict.__getitem__()

* added changelog fragment

* adjustments per PR

* ModuleHelper.output is now aware of conflicting variable names

* Update plugins/module_utils/module_helper.py

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit d2070277e8)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2021-04-05 15:39:08 +02:00
..
become Add support for sudo su - using password auth (#2054) (#2097) 2021-03-24 17:48:53 +01:00
cache Bump version to 2.0.0 (#1369) 2020-11-26 14:26:36 +01:00
callback Callback plugin: Azure Log Analytics (#2091) (#2133) 2021-03-30 12:37:52 +02:00
connection Removal of docker content for 2.0.0 (#1304) 2020-11-23 13:03:19 +01:00
inventory Allow tags strings containing commas in proxmox inventory plug-in (#1949) (#1998) 2021-03-12 07:25:18 +01:00
lookup Add Thycotic DevOps Secrets Vault lookup plugin (#90) 2020-07-13 05:45:07 +00:00
module_utils ModuleHelper variables management (#2162) (#2178) 2021-04-05 15:39:08 +02:00
modules java_keystore/fix 1667 improve temp files storage (#2163) (#2176) 2021-04-05 15:19:17 +02:00
__init__.py Initial commit 2020-03-09 09:11:07 +00:00