diff --git a/ansible_testing/modules.py b/ansible_testing/modules.py index 9d78644144..3eb711b228 100644 --- a/ansible_testing/modules.py +++ b/ansible_testing/modules.py @@ -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