From 956f45b32feb53a8da60025ca1ea3980ddf49bbe Mon Sep 17 00:00:00 2001 From: DR695H Date: Mon, 9 Sep 2019 16:17:07 -0400 Subject: non template files in templating directory need full path Issue-ID: TEST-199 Change-Id: I83eeb1d90b1a945b2c4c5466a76dd5131803e324 Signed-off-by: DR695H --- robot/resources/policy_interface.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robot/resources/policy_interface.robot b/robot/resources/policy_interface.robot index 57ac0da2..96867648 100644 --- a/robot/resources/policy_interface.robot +++ b/robot/resources/policy_interface.robot @@ -196,7 +196,7 @@ Create vFirewall Operational Policy [Arguments] ${resource_id} ${dict}= Create Dictionary RESOURCE_ID=${resource_id} Templating.Create Environment policy ${GLOBAL_TEMPLATE_FOLDER} - ${content_data} OperatingSystem.Get File ${POLICY_TEMPLATES}/vFirewall_policy_operational_content.yaml + ${content_data} OperatingSystem.Get File ${GLOBAL_TEMPLATE_FOLDER}/${POLICY_TEMPLATES}/vFirewall_policy_operational_content.yaml ${content_data}= Replace String Using Regexp ${content_data} __RESOURCE_ID__ ${resource_id} ${encoded_content_data}= Evaluate urllib.quote_plus('''${content_data}''') urllib ${content_dictionary}= Create Dictionary URL_ENCODED_CONTENT ${encoded_content_data} -- cgit 1.2.3-korg