def test_resource_mapping(self):
     mapping = sc.resource_mapping()
     self.assertEqual(2, len(mapping))
     self.assertEqual(sc.StructuredConfig,
                      mapping['OS::Heat::StructuredConfig'])
     self.assertEqual(sc.StructuredDeployment,
                      mapping['OS::Heat::StructuredDeployment'])
     self.assertIsInstance(self.config, sc.StructuredConfig)
 def test_resource_mapping(self):
     mapping = sc.resource_mapping()
     self.assertEqual(2, len(mapping))
     self.assertEqual(sc.StructuredConfig,
                      mapping['OS::Heat::StructuredConfig'])
     self.assertEqual(sc.StructuredDeployment,
                      mapping['OS::Heat::StructuredDeployment'])
     self.assertIsInstance(self.config, sc.StructuredConfig)