def test_resource_mapping(self):
     rsrc = self._setup_service_resource(
         'test_resource_mapping')
     mapping = service.resource_mapping()
     self.assertEqual(1, len(mapping))
     self.assertEqual(service.KeystoneService, mapping[RESOURCE_TYPE])
     self.assertIsInstance(rsrc, service.KeystoneService)
示例#2
0
 def test_resource_mapping(self):
     mapping = service.resource_mapping()
     self.assertEqual(1, len(mapping))
     self.assertEqual(service.KeystoneService, mapping[RESOURCE_TYPE])
     self.assertIsInstance(self.test_service, service.KeystoneService)
示例#3
0
 def test_resource_mapping(self):
     mapping = service.resource_mapping()
     self.assertEqual(1, len(mapping))
     self.assertEqual(service.KeystoneService, mapping[RESOURCE_TYPE])
     self.assertIsInstance(self.test_service, service.KeystoneService)