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/lookup
patchback[bot] 59b1329337
[PR #7490/e0346d40 backport][stable-8] Add onepassword_doc lookup plugin (#7617)
Add onepassword_doc lookup plugin (#7490)

* Add onepassword_doc lookup plugin

* Switch to a doc fragment

* Add unit test

* Update docs

* Move parameter validation to the OnePass object

This makes it built in for other lookup plugins using this class.

* Use kwargs for OnePass instantiation

There are enough parameters now that using them positionally can result in
odd behavior.

* Update tests

Correct conftest file name so fixtures are discovered and loaded correctly
Move constant so it doesn’t need to be imported
Add a patch since the parameter validation moved to part of the class init

* Use a lookup docs fragment

* Correct plugin description

(cherry picked from commit e0346d400f)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2023-11-26 21:45:42 +01:00
..
onepassword_fixtures Use get(..) instead of [..] for safe lookup of value (Fixes #7240) (#7241) 2023-09-13 07:48:36 +02:00
conftest.py [PR #7490/e0346d40 backport][stable-8] Add onepassword_doc lookup plugin (#7617) 2023-11-26 21:45:42 +01:00
onepassword_common.py Use get(..) instead of [..] for safe lookup of value (Fixes #7240) (#7241) 2023-09-13 07:48:36 +02:00
test_bitwarden.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_bitwarden_secrets_manager.py Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
test_dependent.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
test_dsv.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00
test_etcd3.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_lastpass.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_manifold.py Remove unnecessary test imports (#5978) 2023-02-12 21:05:08 +01:00
test_merge_variables.py Add new merge_variables lookup plugin (#5533) 2023-03-26 11:27:30 +02:00
test_onepassword.py [PR #7490/e0346d40 backport][stable-8] Add onepassword_doc lookup plugin (#7617) 2023-11-26 21:45:42 +01:00
test_revbitspss.py Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt (#5065) 2022-08-05 12:28:29 +02:00
test_tss.py Fix more copyright lines, add more default copyright lines (#5095) 2022-08-08 14:24:58 +02:00