ansible/test/lib/ansible_test
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>
2019-09-17 16:32:04 -07:00
..
_data [stable-2.9] Fix ansible-test collections requirements installation. (#62181) 2019-09-16 13:43:12 -07:00
_internal [stable-2.9] Fix ansible-doc traceback and sanity test. (#62040) 2019-09-17 16:32:04 -07:00
config Clean up ansible-test inventory templates. (#60321) 2019-08-09 11:06:21 -07:00
__init__.py