ansible/test
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
..
ansible_test Relocate ansible-test self tests outside package. (#61255) 2019-08-24 11:38:30 -07:00
integration VMware: Add new module VMware vSAN health infos (#58636) 2019-09-09 14:59:31 +05:30
legacy Rename Azure modules: facts -> info (#61505) 2019-08-29 17:00:45 +08:00
lib/ansible_test ansible-test: vcenter+Worldstream: hide password 2019-09-03 10:34:34 -04:00
sanity Fix behaviour of module_utils/ec2 compare_policies when dealing with bare bools and ints. (#61115) 2019-09-09 12:08:25 -04:00
units Fix behaviour of module_utils/ec2 compare_policies when dealing with bare bools and ints. (#61115) 2019-09-09 12:08:25 -04:00
utils Increase unit test timeout to account for long image download times (#61717) 2019-09-03 12:14:55 -04:00