ansible/lib/ansible/module_utils
Matt Martz 6332beef65
Add unit tests for ansible.module_utils.urls (#38059)
* Start of tests for ansible.module_utils.urls

* Start adding file for generic functions throughout urls

* Add tests for maybe_add_ssl_handler

* Remove commented out line

* Improve coverage of maybe_add_ssl_handler, test basic_auth_header

* Start tests for open_url

* pep8 and ignore urlopen in test_url_open.py tests

* Extend auth tests, add test for validate_certs=False

* Finish tests for open_url

* Add tests for fetch_url

* Add fetch_url tests to replace-urlopen ignore

* dummy instead of _

* Add BadStatusLine test

* Reorganize/rename tests

* Add tests for RedirectHandlerFactory

* Add POST test to confirm behavior is to convert to GET

* Update tests to handle recent changes to RedirectHandlerFactory

* Special test, just to confirm that aliasing http_error_308 to http_error_307 does not cause issues with urllib2 type redirects
2018-04-09 10:17:43 -05:00
..
aws [cloud]Add aws_ses_identity_policy module for managing SES sending policies (#36623) 2018-04-05 15:11:12 -04:00
common Add boilderplate to remove a module but keep documentation. 2018-01-26 15:20:36 -08:00
facts continue fact gathering even without dmidecode (#34925) 2018-03-27 13:56:49 -04:00
k8s Auth method for the k8s lookup plugin now matches other modules (#37533) 2018-03-19 15:00:05 -04:00
net_tools changes default WAPI version to 2.1 (#37578) 2018-03-28 18:27:17 +01:00
network Fix junos modules check_mode issue (#37311) 2018-03-26 07:27:30 -04:00
parsing Improve convert_bool error message 2018-02-12 13:05:38 -05:00
powershell powershell: display non-ascii characters in command outputs (#37229) 2018-04-05 14:59:51 -07:00
remote_management Connection and MAC pool module for Cisco UCS (#31151) 2017-12-14 19:38:35 +01:00
six Update the bundled six library to 1.11.0 2017-09-17 22:00:02 -07:00
__init__.py Enhance empty __init__ code-smell to check module_utils (#33438) 2017-11-30 15:47:38 -08:00
_text.py
ansible_tower.py ansible_tower: fix broken import, reuse tower_argument_spec and documentation fragment (#29115) 2017-10-02 16:21:24 -04:00
api.py
azure_rm_common.py Changed Azure SecurityRule to use kwargs instead of positional args (#37695) 2018-03-23 20:37:22 +10:00
basic.py Normalize usage of temp and tmp on tmp (#36221) 2018-02-15 09:01:02 -08:00
cloud.py AWSRetry: allow retrying on additional ClientError exceptions (#28483) 2017-08-22 15:31:20 -04:00
cloudscale.py cloudscale_floating_ip module (#33181) 2017-12-11 14:48:35 +00:00
cloudstack.py cs_zone_facts: implement return facts as ansible returns (#36993) 2018-03-05 11:42:38 +01:00
connection.py Refactor junos modules to Use netconf and cliconf plugins (#32621) 2017-11-24 12:04:47 +05:30
crypto.py Allow multiple values per key in name fields in openssl_certificate/csr (#30338) 2017-12-12 12:35:22 +00:00
database.py
digital_ocean.py Include Digital Ocean Token Alias (#36810) 2018-03-01 09:56:53 +05:30
dimensiondata.py dimensiondata: fix broken import (#35634) 2018-02-07 00:44:42 +01:00
docker_common.py Add compatibility for docker-py version 3 (#36973) 2018-03-06 07:14:31 -05:00
ec2.py [cloud] catch NoCredentialsError in boto3_conn (#36537) 2018-02-21 16:39:01 -05:00
exoscale.py exo_dns_record: remove limitation for multiple records only for A type (#35173) 2018-02-05 22:40:02 +01:00
f5_utils.py Refactor common network shared and platform utils code into package (#33452) 2017-12-03 21:42:30 +05:30
gcdns.py
gce.py
gcp.py Fix dangerous default args. (#29839) 2017-09-12 00:11:13 -07:00
gcp_utils.py [cloud] New GCP module: DNS Managed Zones (gcp_dns_managed_zone.py) (#35014) 2018-02-06 11:50:16 -05:00
infinibox.py
influxdb.py influxdb: fix 'database_name' not optional (#35280) 2018-01-24 16:25:12 +01:00
ipa.py FreeIPA: Add Env variable as module parameter (#35391) 2018-02-06 00:00:16 -05:00
ismount.py
json_utils.py jsonify inventory (#32990) 2017-11-21 13:41:27 -08:00
keycloak.py New module: keycloak_clienttemplate (#33419) 2018-01-31 13:12:53 +00:00
known_hosts.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
lxd.py
manageiq.py module_utils/manageiq: add find_collection_resource_or_fail 2017-11-06 11:41:57 -05:00
mysql.py
netapp.py
oneandone.py New module: manage 1&1 public ip (cloud/oneandone/oneandone_public_ip) (#35079) 2018-02-07 12:15:27 -06:00
oneview.py DatacenterFactsModule for HPE OneView (#32701) 2017-11-28 13:49:51 +00:00
openstack.py Add a module_utils OpenStack Cloud constructor (#20974) 2018-02-15 15:20:49 +01:00
ovirt.py ovirt: Require Python SDK 4.2.4 for Ansible 2.5 (#35841) 2018-02-07 11:49:25 -05:00
postgres.py
pure.py Initial commit for Pure Storage FlashBlade module (#32467) 2018-02-22 15:33:48 -05:00
pycompat24.py
rax.py Fix invalid string escape sequences. 2017-11-21 10:03:34 -08:00
redhat.py Miscellaneous pylint fixes. 2017-09-13 01:53:08 -07:00
scaleway.py Initial commit for Scaleway Compute (#38285) 2018-04-09 09:00:48 -05:00
service.py Connection plugins network_cli and netconf (#32521) 2017-11-09 15:04:40 -05:00
splitter.py
univention_umc.py Python 2.6 str.format() compatibility fixes. 2018-01-10 14:08:11 -08:00
urls.py Add unit tests for ansible.module_utils.urls (#38059) 2018-04-09 10:17:43 -05:00
vca.py
vmware.py add instanceUuid (also called PersistentId) in vmware utils (#37127) 2018-04-02 01:49:39 -04:00
vultr.py vultr: fix py3 compat (#37171) 2018-03-08 16:46:06 +01:00