def setUp(self): super(TestServerCreateRequestXMLDeserializer, self).setUp() ext_info = plugins.LoadedExtensionInfo() controller = servers.ServersController(extension_info=ext_info) self.create_deserializer = servers.CreateDeserializer(controller) self.deserializer = servers.ActionDeserializer(controller) CONF.set_override('extensions_blacklist', 'os-disk-config', 'osapi_v3') no_disk_config_controller = servers.ServersController( extension_info=ext_info) self.create_no_disk_config_deserializer =\ servers.CreateDeserializer(no_disk_config_controller) self.no_disk_config_deserializer =\ servers.ActionDeserializer(no_disk_config_controller)
def setUp(self): super(TestServerRebuildRequestXMLDeserializer, self).setUp() ext_info = plugins.LoadedExtensionInfo() controller = servers.ServersController(extension_info=ext_info) self.deserializer = servers.ActionDeserializer(controller) self.create_deserializer = servers.CreateDeserializer(controller)
def setUp(self): super(TestServerActionXMLDeserializer, self).setUp() ext_info = plugins.LoadedExtensionInfo() servers_controller = servers.ServersController(extension_info=ext_info) self.deserializer = servers.ActionDeserializer(servers_controller)