From b683d2c6bd3188b07b31652534de5df96978d320 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 12 Jun 2018 12:56:18 +1000 Subject: [PATCH] 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: Ie37b20d1be6c177f2f1c26cc473b632d7d934c05 Partial-Bug: #1712399 --- watcher/tests/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watcher/tests/base.py b/watcher/tests/base.py index 200484266..94cd4ef19 100644 --- a/watcher/tests/base.py +++ b/watcher/tests/base.py @@ -56,7 +56,7 @@ class TestCase(BaseTestCase): self.useFixture(conf_fixture.ConfReloadFixture()) self.policy = self.useFixture(policy_fixture.PolicyFixture()) self.messaging_conf = self.useFixture(conffixture.ConfFixture(CONF)) - self.messaging_conf.transport_driver = 'fake' + self.messaging_conf.transport_url = 'fake:/' cfg.CONF.set_override("auth_type", "admin_token", group='keystone_authtoken')