ansible/test/units/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 aws.core in new aws dir in module utils - module with AnsibleAWSModule class and fail_json_aws (#25780) 2017-07-11 14:01:35 -07:00
basic basic: allow one or more when param list having choices (#34537) 2018-02-07 22:59:21 -08:00
cloud [cloud] Add more configurable backoff implementations to CloudRetry/AWSRetry (#27251) 2017-08-08 08:56:46 -04:00
ec2 Route table boto3 (#32059) 2018-01-09 20:09:25 -05:00
facts facts: fix device uuid's on el6 (#36128) 2018-02-16 10:52:51 -05:00
gcp Fix dangerous default args. (#29839) 2017-09-12 00:11:13 -07:00
json_utils Port some tests away from nose as examples (#33437) 2017-11-30 14:04:09 -08:00
net_tools allows ib_spec attrs to be filtered in update (#36673) 2018-02-26 07:55:26 -05:00
network add timeout parameter and increase default timeout for nso modules (#37391) 2018-03-19 15:12:58 +00:00
parsing Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
urls Add unit tests for ansible.module_utils.urls (#38059) 2018-04-09 10:17:43 -05:00
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
conftest.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test_database.py Revert "Update galaxy and database unit tests." 2017-02-09 15:19:01 -08:00
test_distribution_version.py Fix SteamOS ansible_distribution fact (Fixes #33628) (#37576) 2018-03-21 11:50:54 -04:00
test_known_hosts.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test_postgresql.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test_text.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00