mirror of https://github.com/ansible/ansible.git
[stable-2.12] ansible-test - Fix traceback in validate-modules test.
(cherry picked from commit 41ee4a5b12)
Co-authored-by: Matt Clay <matt@mystile.com>
pull/76510/head
parent
a9ade42930
commit
8bab2e309b
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test - Fix traceback in the ``validate-modules`` sanity test when testing an Ansible module without any callables.
|
||||
@ -0,0 +1,23 @@
|
||||
#!/usr/bin/python
|
||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
|
||||
from __future__ import absolute_import, division, print_function
|
||||
__metaclass__ = type
|
||||
|
||||
DOCUMENTATION = '''
|
||||
module: no_callable
|
||||
short_description: No callale test module
|
||||
description: No callable test module.
|
||||
author:
|
||||
- Ansible Core Team
|
||||
'''
|
||||
|
||||
EXAMPLES = '''#'''
|
||||
RETURN = ''''''
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
module = AnsibleModule(argument_spec=dict())
|
||||
module.exit_json()
|
||||
Loading…
Reference in New Issue