'Test old str_replace function with non-string list param.'

def test_str_replace_list_param(self):

    snippet = {'str_replace': {'template': 'listvar1', 'params': {'listvar1': ['foo', 123]}}}
    tmpl = template.Template(hot_tpl_empty)
    ex = self.assertRaises(TypeError, self.resolve, snippet, tmpl)
    self.assertIn('"str_replace"    params    must    be    strings    or    numbers,    param    listvar1    is    not    valid', six.text_type(ex))
