diff options
author | DR695H <dr695h@att.com> | 2019-05-08 13:55:32 -0400 |
---|---|---|
committer | DR695H <dr695h@att.com> | 2019-05-09 10:41:52 -0400 |
commit | 910097ed0b1f7922715bfead98d3be6809fe2479 (patch) | |
tree | b8700a356eaeb81f38d34a186ce0e4dbb879c790 /robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot | |
parent | c5febc8b6264a08484b23ababec8f912cdd8f70d (diff) |
upgrade to python3 libraries
basing the code off of robot framework 3.1.1 instead of 3.0, replacing
selenium2lib with selnium lib and selenium3, replacing extendedselenium
with angularjs lib. Fixing most warnings and all errors from these moves
Change-Id: Ifed68c5b8cd28c7bbdc80ee7245860914bdee5b4
Issue-ID: TEST-151
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot')
-rw-r--r-- | robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot b/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot index 4775dcc2..e5626e6f 100644 --- a/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot +++ b/robot/resources/test_templates/vnf_orchestration_with_cds_test_template.robot @@ -22,9 +22,9 @@ Resource ../json_templater.robot Resource ../so_interface.robot Library OpenstackLibrary -Library ExtendedSelenium2Library Library UUID Library Collections +Library String Library JSONUtils Library RequestsLibrary @@ -89,7 +89,7 @@ Orchestrate VNF With CDS ${list}= Create List ${vnfs}= Get From Dictionary ${jsondata['topology_template']} node_templates ${keys}= Get Dictionary Keys ${vnfs} - :for ${key} in @{keys} + :FOR ${key} IN @{keys} \ ${vnf}= Get From Dictionary ${vnfs} ${key} \ Get VNF Info ${key} ${vnf} ${dict} \ ${vf_modules}= Get From Dictionary ${jsondata['topology_template']} groups @@ -136,7 +136,7 @@ Get VFModule Info ${keys}= Get Dictionary Keys ${vfModules} ${data}= Catenate ${delim}= Catenate - :for ${key} in @{keys} + :FOR ${key} IN @{keys} \ ${module}= Get From Dictionary ${vfModules} ${key} \ Log to console ${vnf} ${key} \ Run keyword if "${vnf}" in "${key}" set vfmodule param ${key} ${module} ${dict} |