summaryrefslogtreecommitdiffstats
path: root/robot/testsuites
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-06-20 15:37:57 -0400
committerDR695H <dr695h@att.com>2019-06-20 15:37:57 -0400
commitf1621dea58fa5beb96356550918a7637d0133034 (patch)
tree063460cbf4701818d2417286befe5490e8879b61 /robot/testsuites
parent3bb6cf4b938d3e725860606d3ddaa8eecd872151 (diff)
move rest of stirngtemplating off old format
Issue-ID: TEST-158 Change-Id: I55c246eba1c0132d70b9c7298da095c72cdecbc3 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/testsuites')
-rw-r--r--robot/testsuites/update_onap_page.robot8
1 files changed, 4 insertions, 4 deletions
diff --git a/robot/testsuites/update_onap_page.robot b/robot/testsuites/update_onap_page.robot
index 57a433b3..3d79cf46 100644
--- a/robot/testsuites/update_onap_page.robot
+++ b/robot/testsuites/update_onap_page.robot
@@ -3,7 +3,7 @@ Documentation Initializes ONAP Test Web Page and Password
Library Collections
Library OperatingSystem
-Library StringTemplater
+Library ONAPLibrary.Templating
Resource ../resources/openstack/keystone_interface.robot
Resource ../resources/openstack/nova_interface.robot
@@ -11,7 +11,7 @@ Resource ../resources/openstack/nova_interface.robot
Test Timeout 5 minutes
*** Variables ***
-${URLS_HTML_TEMPLATE} robot/assets/templates/web/index.html.template
+${URLS_HTML_TEMPLATE} index.html.jinja
${HOSTS_PREFIX} vm
${WEB_USER} test
@@ -69,8 +69,8 @@ Update ONAP Page
*** Keywords ***
Create File From Template
[Arguments] ${template} ${file} ${values}
- ${data} OperatingSystem.Get File ${template}
- ${data}= Template String ${data} ${values}
+ Create Environment web ${GLOBAL_TEMPLATE_FOLDER}
+ ${data}= Apply Template web ${template} ${values}
Create File ${file} ${data}
Set Public Ip