def test_render_string_template(self): '''String template renders as expected with variables.''' args = {'issuer_name': 'Frappe Technologies'} _str = 'Verification Code from {{issuer_name}}' _str = render_string_template(_str, args) self.assertEqual(_str, 'Verification Code from Frappe Technologies')
def test_render_string_template(self): '''String template renders as expected with variables.''' args = {'issuer_name':'Frappe Technologies'} _str = 'Verification Code from {{issuer_name}}' _str = render_string_template(_str,args) self.assertEqual(_str,'Verification Code from Frappe Technologies')