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:
Mehdi Abaakouk 2017-04-28 14:53:17 +02:00
parent 32c10648c5
commit 0ed259de52
1 changed files with 1 additions and 1 deletions

View File

@ -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)