Fix test notification driver configuration

The tests try to configure oslo messaging notifications to use the
"test" driver, but it needs a list, not a single value. You can see the
warning in the logs:

WARNING [stevedore.named] Could not load s, e, t

This properly declare the driver as a single item list.

Change-Id: Ia0b57580c00fe0f7b9c0a19ac5190282972f624f
This commit is contained in:
Thomas Herve 2017-05-23 10:31:44 +02:00
parent d726d274fb
commit ad65e6a01e
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ class TestCase(base.BaseTestCase):
self.messaging_conf.response_timeout = 5
self.useFixture(self.messaging_conf)
self.config(notification_driver='test')
self.config(notification_driver=['test'])
self.useFixture(fixtures.RPCFixture(cfg.CONF))