Switch to oslo_messaging.ConfFixture.transport_url

oslo_messaging's rpc_backend setting, which is set by
ConfFixture.transport_driver has been deprecated since Newton. To allow
oslo_messaging to remove it, switch to setting transport_url instead.

Change-Id: Ib578861b54d281d9218bf69adf72ab9845bd421e
Partial-Bug: #1712399
This commit is contained in:
Steve Kowalik 2018-06-15 10:35:02 +10:00
parent 5ac3e1416c
commit c41e2d080d
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ class BaseTestCase(testtools.TestCase):
'oslo_messaging.Notifier', fake_notifier.FakeNotifier))
self.messaging_conf = messaging_conffixture.ConfFixture(CONF)
self.messaging_conf.transport_driver = 'fake'
self.messaging_conf.transport_url = 'fake:/'
self.messaging_conf.response_timeout = 15
self.useFixture(self.messaging_conf)