'Test that str_replace function does not do double substitution.'

def test_str_replace_single_pass(self):

    snippet = {'str_replace': {'template': '1234567890', 'params': {'1': 'a', '4': 'd', '8': 'h', '9': 'i', '123': '1', '456': '4', '890': '8', '90': '9'}}}
    tmpl = template.Template(hot_tpl_empty)
    self.assertEqual('1478', self.resolve(snippet, tmpl))
