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
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
..
cli Fix unit tests which modify the source tree. (#45763) 6 years ago
config Fix another corner case of too many warnings for world readable current working directory 6 years ago
contrib Update vmware_inventory (#26308) 7 years ago
errors test/: PEP8 compliancy (#24803) 7 years ago
executor Fix unittests for always adding basic to the AnsiBallZ zips 6 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 9 years ago
mock AnsiballZ improvements 6 years ago
module_utils Fixing HTTPError case of fetch_url for Python 3 compatibility. (#45628) 6 years ago
modules Adds bigiq_device_facts module (#45822) 6 years ago
parsing Mass nuke deprecated items that are easily removed. ci_complete (#44320) 6 years ago
playbook Unit tests for ansible.playbook.become (#38541) 6 years ago
plugins Unify terms and UI between 1Password lookups and facts module (#45427) 6 years ago
template remove unused templar._clean_data() (#42739) 6 years ago
utils [aws unit test utils] only create a recordings directory when the env var is set (#45752) 6 years ago
vars Fix pylint error on utf8 character in string (#45880) 6 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
ansible.cfg Fix ansible-test config management. 7 years ago
conftest.py Run unit tests in parallel. (#45812) 6 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 7 years ago