Drop redundant service_available group
The group is already defined in the tempest code, so we can reuse that definition. Change-Id: I13c722bf000a0daf70312695a26ea59cb8ca2420 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
1 parent
d765e825fe
commit
4ccef62fd9
2 files changed
+9
-8
No files matched your search
@@ -10,17 +10,16 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_config import cfg
|
||||
|
||||
import os
|
||||
|
||||
from oslo_config import cfg
|
||||
from tempest import config
|
||||
|
||||
|
||||
default_template = os.path.join(
|
||||
os.path.dirname(os.path.realpath(__file__)),
|
||||
'tests/scenario/templates/boot_config_none_env.yaml')
|
||||
|
||||
service_available_group = cfg.OptGroup(name="service_available",
|
||||
title="Available OpenStack Services")
|
||||
|
||||
ServiceAvailableGroup = [
|
||||
cfg.BoolOpt("heat",
|
||||
default=True,
|
||||
@@ -198,4 +197,4 @@ HeatFeaturesGroup = [
|
||||
def list_opts():
|
||||
yield heat_group.name, HeatGroup
|
||||
yield heat_features_group.name, HeatFeaturesGroup
|
||||
yield service_available_group.name, ServiceAvailableGroup
|
||||
yield config.service_available_group.name, ServiceAvailableGroup
|
||||
@@ -55,7 +55,7 @@ class HeatTempestPlugin(plugins.TempestPlugin):
|
||||
conf (ConfigOpts): The conf object that can be used to register
|
||||
additional options on.
|
||||
"""
|
||||
config.register_opt_group(conf, heat_config.service_available_group,
|
||||
config.register_opt_group(conf, config.service_available_group,
|
||||
heat_config.ServiceAvailableGroup)
|
||||
config.register_opt_group(conf, heat_config.heat_group,
|
||||
heat_config.HeatGroup)
|
||||
@@ -70,7 +70,9 @@ class HeatTempestPlugin(plugins.TempestPlugin):
|
||||
Return type: list
|
||||
"""
|
||||
|
||||
return [(heat_config.heat_group.name,
|
||||
return [(config.service_available_group.name,
|
||||
heat_config.ServiceAvailableGroup),
|
||||
(heat_config.heat_group.name,
|
||||
heat_config.HeatGroup),
|
||||
(heat_config.heat_features_group.name,
|
||||
heat_config.HeatFeaturesGroup)]
|
||||
Reference in new issue
Block a user