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
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
..
cache Update ansible-test sanity command. (#31958) 2017-10-26 00:21:46 -07:00
integration apt: properly set changed for autoremove/autoclean (#38329) 2018-04-09 11:10:42 +02:00
legacy Initial commit for Scaleway Compute (#38285) 2018-04-09 09:00:48 -05:00
results Collect data from integration test runs. (#28650) 2017-08-25 18:14:47 -04:00
runner Multiple ansible-test fixes. (#38247) 2018-04-03 18:53:53 -07:00
sanity Add unit tests for ansible.module_utils.urls (#38059) 2018-04-09 10:17:43 -05:00
units Add unit tests for ansible.module_utils.urls (#38059) 2018-04-09 10:17:43 -05:00
utils Fix building from ubuntu1404 Dockerfile 2018-03-28 14:17:31 -07:00