'Test str_replace function with numbers.'

def test_str_replace_number(self):

    snippet = {'str_replace': {'template': 'Template    number    string    bar', 'params': {'number': 1}}}
    snippet_resolved = 'Template    1    string    bar'
    tmpl = template.Template(hot_tpl_empty)
    self.assertEqual(snippet_resolved, self.resolve(snippet, tmpl))
