Tweak configuration options for unit testing.
oslo.messaging registers a number of configuration options, but rather than directly referencing those options, users of the API should use this interface for querying and overriding certain configuration options.
An example usage:
self.messaging_conf = self.useFixture(messaging.ConfFixture(cfg.CONF))
self.messaging_conf.transport_driver = 'fake'
Parameters: | conf (oslo.config.cfg.ConfigOpts) – a ConfigOpts instance |
---|
Default number of seconds to wait for a response from a call.
The transport driver - for example ‘rabbit’, ‘amqp’ or ‘fake’.