From 4818fda46e6e6eedf5df4833a66e444ec71e6d04 Mon Sep 17 00:00:00 2001
From: Mehdi Abaakouk <sileht@redhat.com>
Date: Thu, 27 Apr 2017 08:46:18 +0200
Subject: [PATCH] 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
---
 oslo_messaging/tests/test_fixture.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/oslo_messaging/tests/test_fixture.py b/oslo_messaging/tests/test_fixture.py
index a8c2eb69c..73b68c2cd 100644
--- a/oslo_messaging/tests/test_fixture.py
+++ b/oslo_messaging/tests/test_fixture.py
@@ -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)