'Test passing of the files map in the top level to the child.
Makes sure that the files map in the top level stack are passed on to
the child stack.'

def test_propagated_files(self):

    self.parent_stack.t.files['foo'] = 'bar'
    parsed_t = self.parent_resource._parse_child_template(self.templ, None)
    self.assertEqual({'foo': 'bar'}, parsed_t.files.files)
