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/module_utils
patchback[bot] e55df1c63e
[PR #6511/486f6553 backport][stable-7] VarDict module utils (#6594)
VarDict module utils (#6511)

* vardict: easy hadling of module variables

* fix copyright year

* initial tests passing

* small adjustments

* add tests

* add to BOTMETA

* remove unused import pytest

* Update plugins/module_utils/vardict.py

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

* minor refactor and documentation

* minor adjustments

* rename VarDict.var() to VarDict._var()

- plus add more docs

* fix method name in tests

---------

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

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2023-05-29 21:18:03 +02:00
..
cloud Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
hwc Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
identity/keycloak Add default license header to files which have no copyright or license header yet (#5074) 2022-08-05 14:03:38 +02:00
net_tools/pritunl Add default license header to files which have no copyright or license header yet (#5074) 2022-08-05 14:03:38 +02:00
xenserver Add more default license and copyright notices (#5087) 2022-08-08 08:44:19 +02:00
conftest.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
test_cmd_runner.py Prepare main for 7.0.0 (#6428) 2023-04-26 07:32:00 +02:00
test_csv.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
test_database.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
test_known_hosts.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
test_module_helper.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_ocapi_utils.py Remote management modules for OCAPI-based devices. (#5754) 2023-01-22 17:10:36 +01:00
test_onepassword.py onepassword - Support v2 (#4728) 2022-11-06 11:32:35 +01:00
test_opennebula.py one_vm: fix syntax error when creating VMs with a more complex template (#6294) 2023-04-16 13:22:49 +02:00
test_saslprep.py Add more license statements (#5079) 2022-08-07 13:37:23 +02:00
test_utm_utils.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
test_vardict.py [PR #6511/486f6553 backport][stable-7] VarDict module utils (#6594) 2023-05-29 21:18:03 +02:00