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/test/units/plugins/lookup
Scott Buchanan b12cf754f6 1Password lookup plugin (#37207)
* add pytest_cache to gitignore

* onepassword lookup plugin

* fix linter/style test complaints

* second pass at making pycodestyle happy

* use json module instead of jq

* update copyrights, license & version added

* fix python2 compatibility

* doh. fix spacing issue.

* use standard ansible exception

* remove potentially problematic stdin argument

* actually call assertion method

* add support for top-level fields

* make vault uuids pedantically consistent in fixture

* fix new style issues

* ability specify section & correct case handling

* improve error handling

* add onepassword_raw plugin

* Add maintainer info

* Move common code to module_utils/onepassword.py

* Load raw data JSON data for easier use in Ansible

* Put OnePass class back inside lookup plugin

There is no good place for sharing code across lookups currently.

* Remove debugging code in unit tests

* Patche proper module in raw unit tests

* Add changelog entry

Co-authored-by: Scott Buchanan <sbuchanan@ri.pn>
2018-05-17 17:29:47 -04:00
..
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
test_aws_ssm.py aws ssm parameter lookup - change to return Nones for missing variables (#36456) 2018-02-21 06:50:00 -05:00
test_conjur_variable.py Conjur Lookup Plugin (#34280) 2018-01-23 10:04:57 -06:00
test_ini.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_lastpass.py Update module_utils.six to latest (#22855) 2017-03-23 13:35:05 -07:00
test_onepassword.py 1Password lookup plugin (#37207) 2018-05-17 17:29:47 -04:00
test_password.py Ansible Config part2 (#27448) 2017-08-15 16:38:59 -04:00