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
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
..
cloud Fix behaviour of module_utils/ec2 compare_policies when dealing with bare bools and ints. (#61115) 5 years ago
crypto luks_device.py: Allow manipulate LUKS containers with label or UUID (#61603) 5 years ago
files Fixes #34893 (#40166) 7 years ago
messaging Rabbitmq user permission fixes (#49404) 6 years ago
monitoring unit tests: remove unused imports (#60462) 5 years ago
net_tools unit tests: remove unused imports (#60462) 5 years ago
network Clean up unused imports for nxos related code (#61856) 5 years ago
notification Add support for hex color in slack module (#49804) 6 years ago
packaging Revert "maven_artifact.py - add support for version ranges by using spec (#54309)" 5 years ago
remote_management OneView: rename _facts -> _info (#61208) 5 years ago
source_control Fix typesetting of "GitLab" (#61702) 5 years ago
storage Fix documentation and facts_from_proxy value in the netapp_e_facts module. (#61072) 5 years ago
system Unit tests: remove unused imports (#59740) 5 years ago
web_infrastructure Python 3.8 collections compatibility fixes. 6 years ago
__init__.py
conftest.py fix missing attribs with dirct module execution (#53875) 6 years ago
utils.py Speed up units using time.sleep by mocking or shortening sleep time (#61064) 5 years ago