1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/units/modules
Sloane Hertel 1de91a9aa0 [cloud] Convert s3 module to use boto3 (#21529)
* replace boto with boto3 for the s3 module

make s3 pep8 and remove from legacy files

fix s3 unit tests

* fix indentation

* s3 module - if we can't create an MD5 sum return None and always upload file

* remove Location.DEFAULT which isn't used in boto3 and tidy up the docs

* pep8

* s3: remove default: null, empty aliases, and required: false from documentation

fix incorrectly documented defaults

* Porting s3 to boto3. Simplify some logic and remove unused imports

* Fix s3 module variables

* Fix a typo in s3 module and remove from pep8 legacy files

* s3: add pagination for listing objects.

Fix logic and use head_object instead of get_object for efficiency.

Fix typo in unit test.

* Fix pagination to maintain backwards compatibility.

Fix incorrect conditional.

Remove redundant variable assignment.

Fix s3 list_object pagination to return all pages

* Use the revised List Objects API as recommended.

* Wrap call to paginated_list in a try/except

Also remembered to allow marker/prefix/max_keys to modify what keys are listed

* Simplify argument
2017-08-11 09:34:33 -04:00
..
cloud [cloud] Convert s3 module to use boto3 (#21529) 2017-08-11 09:34:33 -04:00
network nxos_bgp_neighbor_af does not want required_together (#26370) 2017-08-09 15:54:34 -04:00
packaging rhn_register: fix broken imports, add unit tests (#26878) 2017-08-04 10:12:27 -04:00
remote_management Initial commits for integration of HPE OneView resources with Ansible (#26026) 2017-08-02 19:54:32 -07:00
system New module: manage debian network interfaces file /etc/network/interfaces (system/interfaces_file) (#25295) 2017-08-01 12:11:43 -06:00
web_infrastructure Test for _get_url_data in jenkins_plugin.py (#24905) 2017-05-22 14:40:13 -07:00
__init__.py Some algorithmic unittests for the apt and docker modules 2016-04-27 07:23:31 -07:00