ansible/test/units/modules
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
..
cloud Fix behaviour of module_utils/ec2 compare_policies when dealing with bare bools and ints. (#61115) 2019-09-09 12:08:25 -04:00
crypto luks_device.py: Allow manipulate LUKS containers with label or UUID (#61603) 2019-09-03 05:40:09 +02:00
files
messaging
monitoring unit tests: remove unused imports (#60462) 2019-08-13 19:21:43 +02:00
net_tools unit tests: remove unused imports (#60462) 2019-08-13 19:21:43 +02:00
network Clean up unused imports for nxos related code (#61856) 2019-09-08 22:53:24 -04:00
notification Add support for hex color in slack module (#49804) 2018-12-12 08:41:49 +00:00
packaging Revert "maven_artifact.py - add support for version ranges by using spec (#54309)" 2019-08-28 14:41:11 -07:00
remote_management OneView: rename _facts -> _info (#61208) 2019-08-27 23:21:40 +02:00
source_control Fix typesetting of "GitLab" (#61702) 2019-09-03 09:22:26 -05:00
storage Fix documentation and facts_from_proxy value in the netapp_e_facts module. (#61072) 2019-09-04 14:34:58 -04:00
system Unit tests: remove unused imports (#59740) 2019-07-29 22:10:13 +02:00
web_infrastructure
__init__.py
conftest.py fix missing attribs with dirct module execution (#53875) 2019-04-04 09:59:52 -04:00
utils.py Speed up units using time.sleep by mocking or shortening sleep time (#61064) 2019-08-21 16:52:58 -05:00