'Test str_replace function with non-string map param.'

def test_liberty_str_replace_map_param(self):

    snippet = {'str_replace': {'template': 'jsonvar1', 'params': {'jsonvar1': {'foo': 123}}}}
    snippet_resolved = '{"foo":    123}'
    tmpl = template.Template(hot_liberty_tpl_empty)
    self.assertEqual(snippet_resolved, self.resolve(snippet, tmpl))
