ansible/test
Adrian Likins e166946a0a Fix redundant yaml error blurbs on ModArgs parse errors (#36923)
* Fix redundant yaml error blurbs on ModArgs parse errors

Some of the AnsibleParserErrors from parsing.mod_args
are created with the obj=some_yaml_ds options but
some are not.

If they were, we don't want to add another yaml_ds to
it, because that will result in double yaml error blurbs.
And since we dont need to add info, we can just re raise it.

But if there is no ._obj, add it here so we get the extra
detail in the error message (see issue #14790) and raise
a new AnsibleParserError instance.

Fixes #36848

* cleanup existing test_tasks pep8/sanity issues
2018-03-19 10:55:29 -04:00
..
cache
integration apt_repository: check attribute repo for None value (#36944) 2018-03-19 10:16:43 -04:00
legacy exo_dns_record: remove limitation for multiple records only for A type (#35173) 2018-02-05 22:40:02 +01:00
results
runner Improve Tower integration test support: 2018-03-15 12:25:58 -07:00
sanity Clean up Grafana docs a bit (#37516) 2018-03-17 02:53:26 +01:00
units Fix redundant yaml error blurbs on ModArgs parse errors (#36923) 2018-03-19 10:55:29 -04:00
utils Terminate Tower instances after CI ends. (#37265) 2018-03-09 16:17:29 -08:00