aboutsummaryrefslogtreecommitdiffstats
path: root/tests/portal/testsuites/json_templater.robot
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-06-20 17:20:56 -0400
committerDR695H <dr695h@att.com>2019-07-09 17:54:25 -0400
commit1a207a405ce7321347de1edc36c2076484700705 (patch)
tree7b44cfc8c4ccfb53ba10ad3b6be7ccc6c19d731d /tests/portal/testsuites/json_templater.robot
parentaf20d99d3d140a9b3f5fe8710d75a0a463e22b76 (diff)
remvoing json templater use
Issue-ID: TEST-158 Change-Id: I0ef42c20de50f9aebaf70056cc00d7a7aa61e712 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'tests/portal/testsuites/json_templater.robot')
-rw-r--r--tests/portal/testsuites/json_templater.robot21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/portal/testsuites/json_templater.robot b/tests/portal/testsuites/json_templater.robot
deleted file mode 100644
index 01eba480..00000000
--- a/tests/portal/testsuites/json_templater.robot
+++ /dev/null
@@ -1,21 +0,0 @@
-*** Settings ***
-Documentation This resource is filling out json string templates and returning the json back
-Library RequestsLibrary
-Library eteutils/StringTemplater.py
-Library OperatingSystem
-#Resource global_properties.robot
-
-*** Keywords ***
-Fill JSON Template
- [Documentation] Runs substitution on template to return a filled in json
- [Arguments] ${json} ${arguments}
- ${returned_string}= Template String ${json} ${arguments}
- ${returned_json}= To Json ${returned_string}
- [Return] ${returned_json}
-
-Fill JSON Template File
- [Documentation] Runs substitution on template to return a filled in json
- [Arguments] ${json_file} ${arguments}
- ${json}= OperatingSystem.Get File ${json_file}
- ${returned_json}= Fill JSON Template ${json} ${arguments}
- [Return] ${returned_json} \ No newline at end of file