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/lib/ansible
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
..
cli remove unused optoins from inventory cli 2018-04-05 18:40:24 -04:00
compat Enable wildcard import pylint (#35786) 2018-02-06 15:17:49 -08:00
config adds fix for terminal plugins 2018-03-05 08:54:40 -05:00
errors Make AnsibleActionDone a private exception 2018-01-22 23:36:34 -08:00
executor Give hint when lookup fails on one element list (#38406) 2018-04-09 11:08:04 +02:00
galaxy Ansible Galaxy: skel for network role #37241 (#37251) 2018-03-09 13:31:27 -05:00
inventory Reduce recursion within group methods 2018-04-05 18:38:44 -04:00
module_utils Add unit tests for ansible.module_utils.urls (#38059) 2018-04-09 10:17:43 -05:00
modules Initial commit for Scaleway Compute (#38285) 2018-04-09 09:00:48 -05:00
parsing Fix 'New Vault password' on vault 'edit' (#35923) 2018-03-27 14:12:21 -04:00
playbook Support for module param defaults (#22648) 2018-04-05 11:44:51 -04:00
plugins Fix junos transport check (#38460) 2018-04-09 16:22:09 +05:30
template Don't overwrite builtin jinja2 filters with tests (#37881) 2018-03-26 12:06:00 -05:00
utils Expose verbosity as a var, dedupe attr list. Fixes #36170 2018-04-05 16:06:01 -04:00
vars Fix ansible_lo being used inside of ansible_facts 2018-03-13 12:05:14 -04:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py Move module_set_locale and module_lang back to global 2018-01-22 18:38:15 -08:00
release.py Fix version in lib/ansible/release.py 2018-02-09 04:47:31 -08:00