From ad65e6a01e000811db7b949820f28389cad1f759 Mon Sep 17 00:00:00 2001 From: Thomas Herve Date: Tue, 23 May 2017 10:31:44 +0200 Subject: [PATCH] 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 --- designate/tests/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designate/tests/__init__.py b/designate/tests/__init__.py index c6acd8744..a513ca5be 100644 --- a/designate/tests/__init__.py +++ b/designate/tests/__init__.py @@ -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))