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: I9ac7b29ea207f1fbe06102c764d0a11dd3d60550
Partial-Bug: #1712399
This commit is contained in:
Steve Kowalik 2018-06-12 12:52:47 +10:00
parent 80fc7f8cfe
commit 3119e6243d
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class TestCase(base.BaseTestCase):
self.addCleanup(rpc.cleanup)
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)