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
2019-09-09 12:08:25 -04:00
..
amazon Fix behaviour of module_utils/ec2 compare_policies when dealing with bare bools and ints. (#61115) 2019-09-09 12:08:25 -04:00
cloudstack Skip tests with unsatisfied deps (#55853) 2019-06-28 13:09:36 -07:00
docker docker_swarm_service: Allow passing dicts in networks (#58961) 2019-08-18 08:55:54 +02:00
google GCP deprecations (#53355) 2019-04-18 15:30:27 +01:00
kubevirt unit tests: remove unused imports (#60462) 2019-08-13 19:21:43 +02:00
linode
linode_v4
misc Terraform: Fix unbound local error (#57044) 2019-06-17 08:23:59 +05:30
openstack
vmware VMware: Unit test for vmware_guest (#50140) 2019-01-21 10:23:39 +05:30
xenserver Rename xenserver_guest_facts -> xenserver_guest_info (#57032) 2019-06-30 10:04:30 -04:00
__init__.py