'Test repeat function with a list as a template.'

def _test_repeat_list_template(self, templ=hot_kilo_tpl_empty):

    snippet = {'repeat': {'template': ['this    is    %var%', 'static'], 'for_each': {'%var%': ['a', 'b', 'c']}}}
    snippet_resolved = [['this    is    a', 'static'], ['this    is    b', 'static'], ['this    is    c', 'static']]
    tmpl = template.Template(templ)
    self.assertEqual(snippet_resolved, self.resolve(snippet, tmpl))
