oslo_messaging.conffixture.
ConfFixture
(conf, transport_url=None)¶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_url = 'fake:/'
Parameters: |
|
---|
response_timeout
¶Default number of seconds to wait for a response from a call.
transport_url
¶The transport url
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.