From 774aabc2380e05c1b9529863a7602a25a08a798b Mon Sep 17 00:00:00 2001 From: Serge Kovaleff Date: Fri, 25 Mar 2016 16:09:56 +0200 Subject: [PATCH] Fix service_available opt registration and extra comma Change-Id: Ia634cf9f69454d79f0ca133edeeefbe3afcd5aa7 --- zaqar/tests/tempest_plugin/config.py | 2 +- zaqar/tests/tempest_plugin/plugin.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/zaqar/tests/tempest_plugin/config.py b/zaqar/tests/tempest_plugin/config.py index 00ae868..eb7c5b6 100644 --- a/zaqar/tests/tempest_plugin/config.py +++ b/zaqar/tests/tempest_plugin/config.py @@ -18,7 +18,7 @@ from oslo_config import cfg service_option = cfg.BoolOpt('zaqar', default=True, help="Whether or not Zaqar is expected to be " - "available"), + "available") messaging_group = cfg.OptGroup(name='messaging', title='Messaging Service') diff --git a/zaqar/tests/tempest_plugin/plugin.py b/zaqar/tests/tempest_plugin/plugin.py index 6974b03..889649c 100644 --- a/zaqar/tests/tempest_plugin/plugin.py +++ b/zaqar/tests/tempest_plugin/plugin.py @@ -32,8 +32,8 @@ class ZaqarTempestPlugin(plugins.TempestPlugin): def register_opts(self, conf): conf.register_group(zaqar_config.messaging_group) conf.register_opts(zaqar_config.MessagingGroup, group='messaging') - conf.register_opts(zaqar_config.service_option, - group='service_available') + conf.register_opt(zaqar_config.service_option, + group='service_available') def get_opt_lists(self): return [('messaging', zaqar_config.MessagingGroup),