Issue-ID: TEST-79
Change-Id: Ice7795a2731466119b5fcaa4ecb4bcb1c0f6d917
Signed-off-by: DR695H <dr695h@att.com>
class StringTemplater:
"""StringTemplater is common resource for templating with strings."""
-
+
def template_string(self, template, values):
"""Template String takes in a string and its values and converts it using the string.Template class"""
- return Template(template).substitute(values)
-
- def string_Encoder(self,data):
- data = json.dumps(data)
- return data
\ No newline at end of file
+ return Template(template).substitute(values)
\ No newline at end of file