tests: fix MultiStrOpt value
Previous oslo.config was magically converting MultiStrOpt "messaging" to ["messaging"], that was not expected, now the bug is fixed in oslo.config, but our test is buggy too. This change fixes that. Change-Id: I4e831366aa3194418012b6ff9de59ef1916df758
This commit is contained in:
parent
32c10648c5
commit
0ed259de52
@ -33,7 +33,7 @@ from aodh import messaging
|
||||
class BaseTestCase(base.BaseTestCase):
|
||||
def setup_messaging(self, conf, exchange=None):
|
||||
self.useFixture(oslo_messaging.conffixture.ConfFixture(conf))
|
||||
conf.set_override("notification_driver", "messaging")
|
||||
conf.set_override("notification_driver", ["messaging"])
|
||||
if not exchange:
|
||||
exchange = 'aodh'
|
||||
conf.set_override("control_exchange", exchange)
|
||||
|
Loading…
x
Reference in New Issue
Block a user