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/lib/ansible_test/_internal/sanity
Matt Clay ffb3e19dc6 [stable-2.9] Fix ansible-doc traceback and sanity test. (#62040)
* Fix ansible-doc traceback for removed modules.

This avoids tracebacks with errors like the following when a module has been removed:

module module_name missing documentation (or could not parse documentation): 'NoneType' object does not support item assignment

* Fix ansible-doc sanity test warning handling.

Warnings about removed modules/plugins on stderr are now properly ignored.

Previously an ansible-doc error could result in unrelated errors going undetected because tests were stopped early and the underlying error was ignored.
(cherry picked from commit 064e8e1ef4)

Co-authored-by: Matt Clay <matt@mystile.com>
5 years ago
..
__init__.py [stable-2.9] Fix issues with ansible-test --venv option. (#62033) 5 years ago
ansible_doc.py [stable-2.9] Fix ansible-doc traceback and sanity test. (#62040) 5 years ago
bin_symlinks.py Additional ansible-test path fixes. (#60300) 5 years ago
compile.py Relocate ansible-test code. (#60147) 5 years ago
ignores.py Relocate ansible-test code. (#60147) 5 years ago
import.py Add a --venv option to ansible-test. (#61422) 5 years ago
integration_aliases.py Overhaul ansible-test test path handling. (#61416) 5 years ago
pep8.py Relocate ansible-test code. (#60147) 5 years ago
pslint.py Relocate ansible-test code. (#60147) 5 years ago
pylint.py Use `.cfg` extension for pylint configs. 5 years ago
rstcheck.py Relocate ansible-test code. (#60147) 5 years ago
sanity_docs.py Relocate ansible-test code. (#60147) 5 years ago
shellcheck.py Relocate ansible-test code. (#60147) 5 years ago
validate_modules.py validate-modules - Use error codes instead of numbers (#60711) 5 years ago
yamllint.py Relocate ansible-test code. (#60147) 5 years ago