ansible/test/sanity/code-smell
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
..
azure-requirements.json Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
azure-requirements.py More code-smell sanity test updates. (#36830) 2018-02-28 00:50:00 -08:00
boilerplate.json Update more code-smell tests. (#36570) 2018-02-22 08:08:29 -08:00
boilerplate.py Pass code-smell paths on stdin. 2018-02-27 00:36:16 -08:00
configure-remoting-ps1.json Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
configure-remoting-ps1.py Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
empty-init.json Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
empty-init.py Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
integration-aliases.json Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
integration-aliases.py Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
line-endings.json Complete updates of remaining code-smell tests. (#37743) 2018-03-21 12:02:06 -07:00
line-endings.py Tolerate win line endings on windows module_util load (#37291) 2018-04-06 07:13:31 +10:00
no-assert.json Add support for enhanced code-smell tests. (#36332) 2018-02-20 13:37:23 -08:00
no-assert.py Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
no-basestring.json Upgrade more code-smell tests. (#36560) 2018-02-21 20:09:13 -08:00
no-basestring.py Pass code-smell paths on stdin. 2018-02-27 00:36:16 -08:00
no-dict-iteritems.json Upgrade more code-smell tests. (#36560) 2018-02-21 20:09:13 -08:00
no-dict-iteritems.py Pass code-smell paths on stdin. 2018-02-27 00:36:16 -08:00
no-dict-iterkeys.json Upgrade more code-smell tests. (#36560) 2018-02-21 20:09:13 -08:00
no-dict-iterkeys.py Pass code-smell paths on stdin. 2018-02-27 00:36:16 -08:00
no-dict-itervalues.json Upgrade more code-smell tests. (#36560) 2018-02-21 20:09:13 -08:00
no-dict-itervalues.py Pass code-smell paths on stdin. 2018-02-27 00:36:16 -08:00
no-get-exception.json Upgrade more code-smell tests. (#36560) 2018-02-21 20:09:13 -08:00
no-get-exception.py Pass code-smell paths on stdin. 2018-02-27 00:36:16 -08:00
no-illegal-filenames.json Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
no-illegal-filenames.py Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
no-smart-quotes.json Complete updates of remaining code-smell tests. (#37743) 2018-03-21 12:02:06 -07:00
no-smart-quotes.py Complete updates of remaining code-smell tests. (#37743) 2018-03-21 12:02:06 -07:00
no-tests-as-filters.json Add support for enhanced code-smell tests. (#36332) 2018-02-20 13:37:23 -08:00
no-tests-as-filters.py Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
no-underscore-variable.json Update more code-smell tests. (#36570) 2018-02-22 08:08:29 -08:00
no-underscore-variable.py Pass code-smell paths on stdin. 2018-02-27 00:36:16 -08:00
no-unicode-literals.json More code-smell sanity test updates. (#36830) 2018-02-28 00:50:00 -08:00
no-unicode-literals.py More code-smell sanity test updates. (#36830) 2018-02-28 00:50:00 -08:00
replace-urlopen.json Update more code-smell tests. (#36570) 2018-02-22 08:08:29 -08:00
replace-urlopen.py Add unit tests for ansible.module_utils.urls (#38059) 2018-04-09 10:17:43 -05:00
required-and-default-attributes.json Upgrade more code-smell tests. (#36560) 2018-02-21 20:09:13 -08:00
required-and-default-attributes.py Pass code-smell paths on stdin. 2018-02-27 00:36:16 -08:00
shebang.json Complete updates of remaining code-smell tests. (#37743) 2018-03-21 12:02:06 -07:00
shebang.py Tolerate win line endings on windows module_util load (#37291) 2018-04-06 07:13:31 +10:00
skip.txt Upgrade more code-smell tests. (#36560) 2018-02-21 20:09:13 -08:00
test-constraints.json Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
test-constraints.py Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
use-argspec-type-path.json Update more code-smell tests. (#36570) 2018-02-22 08:08:29 -08:00
use-argspec-type-path.py Pass code-smell paths on stdin. 2018-02-27 00:36:16 -08:00
use-compat-six.json Update more code-smell tests. (#36570) 2018-02-22 08:08:29 -08:00
use-compat-six.py Pass code-smell paths on stdin. 2018-02-27 00:36:16 -08:00