Пример #1
0
 def test_resource_mapping(self):
     mapping = gi.resource_mapping()
     self.assertEqual(1, len(mapping))
     self.assertEqual(gi.GlanceImage, mapping['OS::Glance::Image'])
     self.assertIsInstance(self.my_image, gi.GlanceImage)
Пример #2
0
 def test_resource_mapping(self):
     mapping = gi.resource_mapping()
     self.assertEqual(1, len(mapping))
     self.assertEqual(gi.GlanceImage, mapping['OS::Glance::Image'])
     self.assertIsInstance(self.my_image, gi.GlanceImage)