mirror of https://github.com/ansible/ansible.git
ansible-test - Fix traceback in validate-modules test.
parent
33a8d06332
commit
41ee4a5b12
@ -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