Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ogenstad committed Nov 19, 2017
1 parent 370dd6b commit 028ccf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ 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 028ccf2

Please sign in to comment.