Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ogenstad committed Nov 20, 2017
1 parent 24e931f commit 5e039eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def test_build_docs(ansible_module):
content['doc'] = yaml.load(module.DOCUMENTATION)
content['examples'] = module.EXAMPLES
content['example_lines'] = module.EXAMPLES.split('\n')
content['return'] = yaml.load(module.RETURN)
content['return_values'] = yaml.load(module.RETURN)
module_name = ansible_module.replace('napalm_ansible.', '')

with open('module_docs/{0}.json'.format(module_name), 'w') as f:
json.dump(content, f, indent=4, sort_keys=False)

0 comments on commit 5e039eb

Please sign in to comment.