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/units
Adrian Likins d64a352a40 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

(cherry picked from commit e166946a0a)
7 years ago
..
cli galaxy unit tests: add missing arg (#33766) 7 years ago
config additional configmanager tests 7 years ago
contrib Update vmware_inventory (#26308) 7 years ago
errors test/: PEP8 compliancy (#24803) 8 years ago
executor Start of tests for modify_module, specifically to ensure proper shebang replacement on old style modules (#36602) (#36606) 7 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 10 years ago
mock Porting tests to pytest (#33387) 7 years ago
module_utils nso_config break cycles in dependency sorting (#36828) (#36838) 7 years ago
modules Fix interfaces_file for proper file contents (#37818) 7 years ago
parsing Remove deprecated code (#34828) 7 years ago
playbook Fix redundant yaml error blurbs on ModArgs parse errors (#36923) 7 years ago
plugins Fixes #32146 Fixes reconcile inventory to correctly remove hosts from ungrouped 7 years ago
template Backport #37881 for 2.5.1 (#37937) 7 years ago
utils test/: PEP8 compliancy (#24803) 8 years ago
vars Miscellaneous pylint fixes. 7 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
ansible.cfg Fix ansible-test config management. 7 years ago
conftest.py Fix bugs in ansible-test units command. (#24044) 8 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 8 years ago