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
7 years ago
..
azure-requirements.json Overhaul additional sanity tests. (#36803) 7 years ago
azure-requirements.py More code-smell sanity test updates. (#36830) 7 years ago
boilerplate.json
boilerplate.py
configure-remoting-ps1.json Overhaul additional sanity tests. (#36803) 7 years ago
configure-remoting-ps1.py Overhaul additional sanity tests. (#36803) 7 years ago
empty-init.json Overhaul additional sanity tests. (#36803) 7 years ago
empty-init.py Overhaul additional sanity tests. (#36803) 7 years ago
integration-aliases.json Overhaul additional sanity tests. (#36803) 7 years ago
integration-aliases.py Overhaul additional sanity tests. (#36803) 7 years ago
line-endings.json Complete updates of remaining code-smell tests. (#37743) 7 years ago
line-endings.py Tolerate win line endings on windows module_util load (#37291) 7 years ago
no-assert.json
no-assert.py Overhaul additional sanity tests. (#36803) 7 years ago
no-basestring.json
no-basestring.py
no-dict-iteritems.json
no-dict-iteritems.py
no-dict-iterkeys.json
no-dict-iterkeys.py
no-dict-itervalues.json
no-dict-itervalues.py
no-get-exception.json
no-get-exception.py
no-illegal-filenames.json Overhaul additional sanity tests. (#36803) 7 years ago
no-illegal-filenames.py Overhaul additional sanity tests. (#36803) 7 years ago
no-smart-quotes.json Complete updates of remaining code-smell tests. (#37743) 7 years ago
no-smart-quotes.py Complete updates of remaining code-smell tests. (#37743) 7 years ago
no-tests-as-filters.json
no-tests-as-filters.py Overhaul additional sanity tests. (#36803) 7 years ago
no-underscore-variable.json
no-underscore-variable.py
no-unicode-literals.json More code-smell sanity test updates. (#36830) 7 years ago
no-unicode-literals.py More code-smell sanity test updates. (#36830) 7 years ago
replace-urlopen.json
replace-urlopen.py Add unit tests for ansible.module_utils.urls (#38059) 7 years ago
required-and-default-attributes.json
required-and-default-attributes.py
shebang.json Complete updates of remaining code-smell tests. (#37743) 7 years ago
shebang.py Tolerate win line endings on windows module_util load (#37291) 7 years ago
skip.txt
test-constraints.json Overhaul additional sanity tests. (#36803) 7 years ago
test-constraints.py Overhaul additional sanity tests. (#36803) 7 years ago
use-argspec-type-path.json
use-argspec-type-path.py
use-compat-six.json
use-compat-six.py