You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units/plugins/lookup
Sam Doran b60854357b
Unify terms and UI between 1Password lookups and facts module (#45427)
* Unify login behavior between 1Password lookup plugins and module

- Use the same names for all credential aspects
- Only require the minimal amount of information for each
- Add more examples

* Change parameter terms

- use terms in line with 1Password documentation.
- update examples
- update tests

* Improve error messages in lookup plugin

* Unify onepassword_facts with lookup plugins

- use same methods and logic for signing in or reusing existing session
- unify terms with lookup plugins

* Change rc test for determing login

An rc other than 1 can be returned when a current login session does not exist.

* Create AnsibleModuleError class

ansible.errors is not available to modules, so create an AnsibleModuleError class within the module

Do not user os.path.expanduser since this is already done by virtue of the type being "path" in the argument spec.

* Add note about risk with fact caching sensitive data

* Add note on op version that was used for testing
6 years ago
..
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
test_aws_ssm.py aws ssm parameter lookup - change to return Nones for missing variables (#36456) 7 years ago
test_conjur_variable.py Conjur Lookup Plugin (#34280) 7 years ago
test_ini.py test/: PEP8 compliancy (#24803) 7 years ago
test_lastpass.py Update module_utils.six to latest (#22855) 8 years ago
test_onepassword.py Unify terms and UI between 1Password lookups and facts module (#45427) 6 years ago
test_password.py Share the implementation of hashing for both vars_prompt and password_hash (#21215) 6 years ago