From 028ccf274e2bcffb34897e86885f134d5fb88d41 Mon Sep 17 00:00:00 2001 From: Patrick Ogenstad Date: Sun, 19 Nov 2017 16:51:21 +0100 Subject: [PATCH] Rename variable --- tests/test_documentation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_documentation.py b/tests/test_documentation.py index a6d158f..edc87f1 100644 --- a/tests/test_documentation.py +++ b/tests/test_documentation.py @@ -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)