Report missing ansible.module_utils.basic import as a warning (#31)

For new Networking modules we import via another library
See sivel/ansible-testing/issue/30
reviewable/pr18001/r6
John R Barker 9 years ago committed by John Barker
parent 43c028d52d
commit 247066e6a8

@ -255,7 +255,7 @@ class ModuleValidator(Validator):
if not linenos:
self.errors.append('Did not find a module_utils import')
elif not found_basic:
self.errors.append('Did not find "ansible.module_utils.basic" '
self.warnings.append('Did not find "ansible.module_utils.basic" '
'import')
return linenos

Loading…
Cancel
Save