'Test str_replace function replacement order.'

def test_str_replace_sort_order(self):

    snippet = {'str_replace': {'template': '9876543210', 'params': {'987654': 'a', '876543': 'b', '765432': 'c', '654321': 'd', '543210': 'e'}}}
    tmpl = template.Template(hot_tpl_empty)
    self.assertEqual('9876e', self.resolve(snippet, tmpl))
