'Test repeat function with multiple input lists.'

def _test_repeat_multi_list(self, templ=hot_kilo_tpl_empty):

    snippet = {'repeat': {'template': 'this    is    %var1%-%var2%', 'for_each': {'%var1%': ['a', 'b', 'c'], '%var2%': ['1', '2']}}}
    snippet_resolved = ['this    is    a-1', 'this    is    b-1', 'this    is    c-1', 'this    is    a-2', 'this    is    b-2', 'this    is    c-2']
    tmpl = template.Template(templ)
    result = self.resolve(snippet, tmpl)
    self.assertEqual(len(result), len(snippet_resolved))
    for item in result:
        self.assertIn(item, snippet_resolved)
