You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
6 years ago
..
azure-requirements.json Overhaul additional sanity tests. (#36803) 6 years ago
azure-requirements.py More code-smell sanity test updates. (#36830) 6 years ago
boilerplate.json Update more code-smell tests. (#36570) 6 years ago
boilerplate.py Pass code-smell paths on stdin. 6 years ago
configure-remoting-ps1.json Overhaul additional sanity tests. (#36803) 6 years ago
configure-remoting-ps1.py Overhaul additional sanity tests. (#36803) 6 years ago
empty-init.json Overhaul additional sanity tests. (#36803) 6 years ago
empty-init.py Overhaul additional sanity tests. (#36803) 6 years ago
integration-aliases.json Overhaul additional sanity tests. (#36803) 6 years ago
integration-aliases.py Overhaul additional sanity tests. (#36803) 6 years ago
line-endings.json Complete updates of remaining code-smell tests. (#37743) 6 years ago
line-endings.py Tolerate win line endings on windows module_util load (#37291) 6 years ago
no-assert.json Add support for enhanced code-smell tests. (#36332) 6 years ago
no-assert.py Overhaul additional sanity tests. (#36803) 6 years ago
no-basestring.json Upgrade more code-smell tests. (#36560) 6 years ago
no-basestring.py Pass code-smell paths on stdin. 6 years ago
no-dict-iteritems.json Upgrade more code-smell tests. (#36560) 6 years ago
no-dict-iteritems.py Pass code-smell paths on stdin. 6 years ago
no-dict-iterkeys.json Upgrade more code-smell tests. (#36560) 6 years ago
no-dict-iterkeys.py Pass code-smell paths on stdin. 6 years ago
no-dict-itervalues.json Upgrade more code-smell tests. (#36560) 6 years ago
no-dict-itervalues.py Pass code-smell paths on stdin. 6 years ago
no-get-exception.json Upgrade more code-smell tests. (#36560) 6 years ago
no-get-exception.py Pass code-smell paths on stdin. 6 years ago
no-illegal-filenames.json Overhaul additional sanity tests. (#36803) 6 years ago
no-illegal-filenames.py Overhaul additional sanity tests. (#36803) 6 years ago
no-smart-quotes.json Complete updates of remaining code-smell tests. (#37743) 6 years ago
no-smart-quotes.py Complete updates of remaining code-smell tests. (#37743) 6 years ago
no-tests-as-filters.json Add support for enhanced code-smell tests. (#36332) 6 years ago
no-tests-as-filters.py Overhaul additional sanity tests. (#36803) 6 years ago
no-underscore-variable.json Update more code-smell tests. (#36570) 6 years ago
no-underscore-variable.py Pass code-smell paths on stdin. 6 years ago
no-unicode-literals.json More code-smell sanity test updates. (#36830) 6 years ago
no-unicode-literals.py More code-smell sanity test updates. (#36830) 6 years ago
replace-urlopen.json Update more code-smell tests. (#36570) 6 years ago
replace-urlopen.py Add unit tests for ansible.module_utils.urls (#38059) 6 years ago
required-and-default-attributes.json Upgrade more code-smell tests. (#36560) 6 years ago
required-and-default-attributes.py Pass code-smell paths on stdin. 6 years ago
shebang.json Complete updates of remaining code-smell tests. (#37743) 6 years ago
shebang.py Tolerate win line endings on windows module_util load (#37291) 6 years ago
skip.txt Upgrade more code-smell tests. (#36560) 6 years ago
test-constraints.json Overhaul additional sanity tests. (#36803) 6 years ago
test-constraints.py Overhaul additional sanity tests. (#36803) 6 years ago
use-argspec-type-path.json Update more code-smell tests. (#36570) 6 years ago
use-argspec-type-path.py Pass code-smell paths on stdin. 6 years ago
use-compat-six.json Update more code-smell tests. (#36570) 6 years ago
use-compat-six.py Pass code-smell paths on stdin. 6 years ago