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
This commit is contained in:
parent
43c028d52d
commit
247066e6a8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue