'Test attribute aggregation.
Test attribute aggregation and that we mimic the nested resource\'s
attributes.'

def test_index_deep_path_attribs(self):

    resg = self._create_dummy_stack(template_attr, expect_attrs={'0': 2, '1': 2})
    self.assertEqual(2, resg.FnGetAtt('resource.0', 'nested_dict', 'dict', 'b'))
    self.assertEqual(2, resg.FnGetAtt('resource.1', 'nested_dict', 'dict', 'b'))
