ansible/test/units/parsing
Matt Davis a40baf22fa
various mod_args fixes (#60290)
* various mod_args fixes

* filter task keywords when parsing actions from task_ds- prevents repeatedly banging on the pluginloader for things we know aren't modules/actions
* clean up module/action error messaging. Death to `no action in task!`- actually list the candidate modules/actions from the task if present.

* remove shadowed_module test

* previous discussion was that this behavior isn't worth the complexity or performance costs in mod_args

* fix/add test, remove module shadow logic

* address review feedback
2019-08-13 09:57:49 +01:00
..
fixtures lib/ansible/parsing/ajson.py: added UNIT-tests (#56398) 2019-05-17 23:29:42 -07:00
utils Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
vault Update units to pass on macOS (#60435) 2019-08-12 15:13:07 -05:00
yaml Handle vaulted non-ascii characters for Python2 (#58503) 2019-06-28 13:23:15 -04:00
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
test_ajson.py lib/ansible/parsing/ajson.py: added UNIT-tests (#56398) 2019-05-17 23:29:42 -07:00
test_dataloader.py dataloader: unit tests (#50942) 2019-01-22 09:51:27 -05:00
test_metadata.py Correct places where match was intended 2019-07-18 17:10:58 -07:00
test_mod_args.py various mod_args fixes (#60290) 2019-08-13 09:57:49 +01:00
test_splitter.py Add unit tests 2018-09-28 19:19:58 +02:00
test_unquote.py Switch tests to pytest and ansible-test. 2017-01-11 12:34:59 -08:00