'Test get_file function does not resolve nested calls.'

def test_get_file_nested_does_not_resolve(self):

    snippet = {'get_file': 'file:///tmp/foo.yaml'}
    snippet_resolved = '{get_file:    file:///tmp/bar.yaml}'
    tmpl = template.Template(hot_tpl_empty, files={'file:///tmp/foo.yaml': snippet_resolved, 'file:///tmp/bar.yaml': 'bar    content'})
    stack = parser.Stack(utils.dummy_context(), 'param_id_test', tmpl)
    self.assertEqual(snippet_resolved, self.resolve(snippet, tmpl, stack))
