tests: fix MultiStrOpt value
Last oslo.config was magically converting MultiStrOpt "messaging" to ["messaging"], that was not expected, oslo.messaging have a test that use "messaging" instead of a list. This change fixes that. Change-Id: I65b8cc551dde6f80d979640ba3db097572f3fe9b
This commit is contained in:
parent
83e738c2fd
commit
4818fda46e
@ -57,13 +57,13 @@ class TestConfFixture(test_utils.BaseTestCase):
|
||||
def test_old_notifications_config_override(self):
|
||||
conf = self.messaging_conf.conf
|
||||
conf.set_override(
|
||||
"notification_driver", "messaging")
|
||||
"notification_driver", ["messaging"])
|
||||
conf.set_override(
|
||||
"notification_transport_url", "http://xyz")
|
||||
conf.set_override(
|
||||
"notification_topics", ['topic1'])
|
||||
|
||||
self.assertEqual("messaging",
|
||||
self.assertEqual(["messaging"],
|
||||
conf.oslo_messaging_notifications.driver)
|
||||
self.assertEqual("http://xyz",
|
||||
conf.oslo_messaging_notifications.transport_url)
|
||||
|
Loading…
Reference in New Issue
Block a user