ansible/test/units/modules/cloud
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
..
amazon s3_bucket: fix python3 sorting incompatibility (#27502) 2017-08-03 15:41:26 -04:00
docker test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
google test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
openstack test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
__init__.py