Merge "Switch to oslo_messaging.ConfFixture.transport_url"

This commit is contained in:
Zuul 2018-06-13 14:46:08 +00:00 committed by Gerrit Code Review
commit 30d7c9f27c
2 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ class ConfigFixture(fixture.GabbiFixture):
conf = conf_fixture.Config().conf
policy_opts.set_defaults(conf)
msg_conf = conffixture.ConfFixture(conf)
msg_conf.transport_driver = 'fake'
msg_conf.transport_url = 'fake:/'
conf.import_group('api', 'cloudkitty.api.app')
conf.set_override('auth_strategy', self.auth_strategy)
conf.set_override('connection', 'sqlite:///', 'database')

View File

@ -37,7 +37,7 @@ class OrchestratorTest(tests.TestCase):
def setUp(self):
super(OrchestratorTest, self).setUp()
messaging_conf = self.useFixture(conffixture.ConfFixture(self.conf))
messaging_conf.transport_driver = 'fake'
messaging_conf.transport_url = 'fake:/'
self.conf.set_override('backend', 'keystone', 'tenant_fetcher')
self.conf.import_group('keystone_fetcher',
'cloudkitty.fetcher.keystone')