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
patchback[bot] 7caefbd420
ini_file: add multiple options with same name to ini file (#3033) (#3207)
* ini_file - prepare for fixing #273
 - restructure tests
 - fix error message call: fail_json() takes 1 positional argument but 2 were given

* ini_file - multiple values for one option (#273)
  - add module option 'exclusive' (boolean) for the abbility to add
    single option=value entries without overwriting existing options
    with the same name but different values
  - add abbility to define multiple options with the same name but
    different values

* ini_file - add more tests for ini_file

* ini_file - fix sanity tests

* apply suggested changes:

- rename 03-regressions.yml to 03-encoding.yml
- fix typos
- fix documentation

* apply suggested changes:

- test errors also for result is failed

* apply suggested changes:

- make state=absent also work with module option exclusive
- add more tests for state=absent and module option exclusive

* fix sanity test:

- 02-values.yml:251:9: hyphens: too many spaces after hyphen

* apply proposed changes

* apply proposed changes from review
- adjust version_added to 3.6.0
- small syntax change in changelog fragment

(cherry picked from commit 25267b8094)

Co-authored-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-08-15 13:23:30 +02:00
..
integration/targets ini_file: add multiple options with same name to ini file (#3033) (#3207) 2021-08-15 13:23:30 +02:00
sanity Actually enable BOTMETA sanity test to force new plugins/modules to have BOTMETA entry. (#3096) (#3097) 2021-07-27 20:38:24 +02:00
unit [PR #3194/1fec1d0c backport][stable-3] Fix sanity failures (#3195) 2021-08-12 13:46:55 +02:00
utils Dynamically add meta/runtime.yml redirects before integration tests. (#2633) (#2855) 2021-06-22 10:06:33 +02:00
.gitignore Initial commit 2020-03-09 09:11:07 +00:00
config.yml Add ansible-test config file. (#2404) (#2406) 2021-05-01 22:54:44 +02:00
requirements.yml Remove community.kubernetes testing dependency. (#1682) 2021-01-27 07:17:00 +01:00