Stop adding ServiceAvailable group option
Service available group already exists.Therefore we don't need to register this group here again. Change-Id: I570cb7c1d2e13318a102b9f01a85fd24ffb89f9a Closes-Bug: #1621036
This commit is contained in:
parent
7cd0119723
commit
cab2734a94
@ -15,11 +15,7 @@
|
||||
|
||||
from oslo_config import cfg
|
||||
|
||||
service_available_group = cfg.OptGroup(name="service_available",
|
||||
title="Available OpenStack Services")
|
||||
|
||||
ServiceAvailableGroup = [
|
||||
cfg.BoolOpt('mistral',
|
||||
default=True,
|
||||
help="Whether or not Mistral is expected to be available."),
|
||||
]
|
||||
service_option = cfg.BoolOpt('mistral',
|
||||
default=True,
|
||||
help="Whether or not Mistral is expected to be"
|
||||
"available")
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
import os
|
||||
|
||||
from tempest import config
|
||||
from tempest.test_discover import plugins
|
||||
|
||||
from mistral_tempest_tests import config as mistral_config
|
||||
@ -31,11 +30,8 @@ class MistralTempestPlugin(plugins.TempestPlugin):
|
||||
return full_test_dir, base_path
|
||||
|
||||
def register_opts(self, conf):
|
||||
config.register_opt_group(
|
||||
conf,
|
||||
mistral_config.service_available_group,
|
||||
mistral_config.ServiceAvailableGroup
|
||||
)
|
||||
conf.register_opt(mistral_config.service_option,
|
||||
group='service_available')
|
||||
|
||||
def get_opt_lists(self):
|
||||
pass
|
||||
return [('service_available', [mistral_config.service_option])]
|
||||
|
Loading…
Reference in New Issue
Block a user