1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-28 03:53:19 +00:00
community.general/test/units/modules/cloud/amazon
Sloane Hertel 467a1f54a3 s3_bucket: fix python3 sorting incompatibility (#27502)
* s3_bucket: fix policy sorting for python3 so strings are evaluated as less than tuples.

Add tests to ensure this behavior is maintained.

* Fix s3_bucket comparison function to work on both Python 3.5 and 3.6

* s3_bucket: document that cmp_to_key is used for python 2.7.

Add another test for s3_bucket to compare policies of different sizes.

* fix pep8

* Work around code-smell grepping by not using the word 'cmp'.
2017-08-03 15:41:26 -04:00
..
fixtures
placebo_recordings [cloud] New module: Add module for managing AWS Datapipelines (cloud/amazon/data_pipeline) (#22878) 2017-08-03 15:04:10 -04:00
__init__.py
placebo_fixtures.py
test_api_gateway.py
test_cloudformation.py
test_data_pipeline.py [cloud] New module: Add module for managing AWS Datapipelines (cloud/amazon/data_pipeline) (#22878) 2017-08-03 15:04:10 -04:00
test_ec2_utils.py
test_ec2_vpc_nat_gateway.py
test_kinesis_stream.py
test_lambda.py
test_s3.py
test_s3_bucket.py s3_bucket: fix python3 sorting incompatibility (#27502) 2017-08-03 15:41:26 -04:00