Loading robot2doc/Tests-SOL002-VeVnfm_template.docx 0 → 100644 +23.8 KiB File added.No diff preview for this file type. View file robot2doc/Tests-SOL003-OrVnfm_template.docx 0 → 100755 +23.8 KiB File added.No diff preview for this file type. View file robot2doc/Tests-SOL005-OsMaNfvo_template.docx 0 → 100644 +23.7 KiB File added.No diff preview for this file type. View file robot2doc/create_sols.py +14 −2 Original line number Diff line number Diff line Loading @@ -29,6 +29,18 @@ def create_test_for_sol(solspec, all_tests_root, commit_id, output_dir): "SOL005" : 'sol_005_index.csv', } templates = { "SOL002" : 'Tests-SOL002-VeVnfm_template.docx', "SOL003" : 'Tests-SOL003-OrVnfm_template.docx', "SOL005" : 'Tests-SOL005-OsMaNfvo_template.docx' } outnames = { "SOL002" : 'Tests-SOL002-VeVnfm.docx', "SOL003" : 'Tests-SOL003-OrVnfm.docx', "SOL005" : 'Tests-SOL005-OsMaNfvo.docx', } if not solspec in indexes: print("Error: Wrong SOL Specification: {}".format(solspec)) return Loading @@ -42,7 +54,7 @@ def create_test_for_sol(solspec, all_tests_root, commit_id, output_dir): print("ERROR OPENING INDEX: {}".format(indexes[solspec])) return spec = testspec.TestSpec() spec = testspec.TestSpec(templates[solspec]) current_folder = None for row in sol_index: Loading @@ -61,7 +73,7 @@ def create_test_for_sol(solspec, all_tests_root, commit_id, output_dir): ) lib.gen_api_suite(ref, suite, spec, current_folder, commit_id, solspec) outfn = os.path.join(output_dir,"{}_attachment.docx".format(solspec)) outfn = os.path.join(output_dir,outnames[solspec]) print("Writing {} definitions to: {}".format(solspec, outfn)) spec.save(outfn) Loading Loading
robot2doc/Tests-SOL002-VeVnfm_template.docx 0 → 100644 +23.8 KiB File added.No diff preview for this file type. View file
robot2doc/Tests-SOL003-OrVnfm_template.docx 0 → 100755 +23.8 KiB File added.No diff preview for this file type. View file
robot2doc/Tests-SOL005-OsMaNfvo_template.docx 0 → 100644 +23.7 KiB File added.No diff preview for this file type. View file
robot2doc/create_sols.py +14 −2 Original line number Diff line number Diff line Loading @@ -29,6 +29,18 @@ def create_test_for_sol(solspec, all_tests_root, commit_id, output_dir): "SOL005" : 'sol_005_index.csv', } templates = { "SOL002" : 'Tests-SOL002-VeVnfm_template.docx', "SOL003" : 'Tests-SOL003-OrVnfm_template.docx', "SOL005" : 'Tests-SOL005-OsMaNfvo_template.docx' } outnames = { "SOL002" : 'Tests-SOL002-VeVnfm.docx', "SOL003" : 'Tests-SOL003-OrVnfm.docx', "SOL005" : 'Tests-SOL005-OsMaNfvo.docx', } if not solspec in indexes: print("Error: Wrong SOL Specification: {}".format(solspec)) return Loading @@ -42,7 +54,7 @@ def create_test_for_sol(solspec, all_tests_root, commit_id, output_dir): print("ERROR OPENING INDEX: {}".format(indexes[solspec])) return spec = testspec.TestSpec() spec = testspec.TestSpec(templates[solspec]) current_folder = None for row in sol_index: Loading @@ -61,7 +73,7 @@ def create_test_for_sol(solspec, all_tests_root, commit_id, output_dir): ) lib.gen_api_suite(ref, suite, spec, current_folder, commit_id, solspec) outfn = os.path.join(output_dir,"{}_attachment.docx".format(solspec)) outfn = os.path.join(output_dir,outnames[solspec]) print("Writing {} definitions to: {}".format(solspec, outfn)) spec.save(outfn) Loading