Browse Source

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: I8fa0c2a7159aa93c094b7d00f860d2ce827a51c2
Partial-Bug: #1712399
Steve Kowalik 10 months ago
parent
commit
ee8b30a088
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      networking_vsphere/tests/base.py

+ 1
- 1
networking_vsphere/tests/base.py View File

@@ -58,7 +58,7 @@ class TestCase(base.BaseTestCase):
58 58
             'oslo_messaging.Notifier', fake_notifier.FakeNotifier))
59 59
 
60 60
         self.messaging_conf = messaging_conffixture.ConfFixture(CONF)
61
-        self.messaging_conf.transport_driver = 'fake'
61
+        self.messaging_conf.transport_url = 'fake:/'
62 62
         # NOTE(russellb) We want all calls to return immediately.
63 63
         self.messaging_conf.response_timeout = 0
64 64
         self.useFixture(self.messaging_conf)

Loading…
Cancel
Save