ansible/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 [cloud][tests] AWS lambda module unit tests (#21768) 2017-02-23 09:58:26 -05:00
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 Relocate module unit tests. (#18812) 2016-12-08 11:35:20 -05:00
placebo_fixtures.py Fix PEP 8 issues. 2017-03-31 14:21:54 -07:00
test_api_gateway.py [cloud] New module: AWS API Gageway module (#20230) 2017-06-05 10:25:56 -04:00
test_cloudformation.py Fix PEP 8 issues. 2017-03-31 14:21:54 -07:00
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 fixed type mapper and added tests (#20963) 2017-02-02 09:46:17 -05:00
test_ec2_vpc_nat_gateway.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_kinesis_stream.py [cloud][test] Use pytest conditional imports instead of nose/SkipTest (#22019) 2017-03-02 17:07:56 -05:00
test_lambda.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_s3.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_s3_bucket.py s3_bucket: fix python3 sorting incompatibility (#27502) 2017-08-03 15:41:26 -04:00