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/modules/cloud
Mark Chappell 1f38a12057 Fix behaviour of module_utils/ec2 compare_policies when dealing with bare bools and ints. (#61115)
* module_utils/ec2: (unit tests) Move unit tests for module_utils/ec2.py into test/units/module_utils

- compare_policies was refactored from s3_bucket
- "ec2_utils" doesn't seem to have ever existed

* module_utils/ec2: (unit tests) Add unit test for comparing quoted and unquoted bools and numbers within policies

As per https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_grammar.html

"Values are enclosed in quotation marks. Quotation marks are optional for numeric
and Boolean values."

* module_utils/ec2: Explicitly convert bools and ints to strings when comparing policies

See also: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_grammar.html
5 years ago
..
amazon Fix behaviour of module_utils/ec2 compare_policies when dealing with bare bools and ints. (#61115) 5 years ago
cloudstack Skip tests with unsatisfied deps (#55853) 5 years ago
docker docker_swarm_service: Allow passing dicts in networks (#58961) 5 years ago
google GCP deprecations (#53355) 6 years ago
kubevirt unit tests: remove unused imports (#60462) 5 years ago
linode Linode: Mark 'name' as required. Fixes #29785 (#44699) 6 years ago
linode_v4 Add new linode_v4 module. (#46151) 6 years ago
misc Terraform: Fix unbound local error (#57044) 6 years ago
openstack Enable additional pylint rules and resolve issues found. (#47221) 6 years ago
vmware VMware: Unit test for vmware_guest (#50140) 6 years ago
xenserver Rename xenserver_guest_facts -> xenserver_guest_info (#57032) 5 years ago
__init__.py Relocate module unit tests. (#18812) 8 years ago