Merge "Remove climate namespace"

This commit is contained in:
Zuul 2018-04-03 09:39:43 +00:00 committed by Gerrit Code Review
commit d023f4e853
3 changed files with 2 additions and 7 deletions

View File

@ -20,10 +20,6 @@ service_available_group = cfg.OptGroup(name="service_available",
title="Available OpenStack Services")
service_option = [
cfg.BoolOpt("climate",
default=True,
help="Whether or not climate is expected to be available. "
"This config remains for backward compatibility."),
cfg.BoolOpt("blazar",
default=True,
help="Whether or not blazar is expected to be available"),

View File

@ -19,7 +19,7 @@ from tempest.lib.common import rest_client
class ResourceReservationV1Client(rest_client.RestClient):
"""Client class for accessing the resource reservation API."""
CLIMATECLIENT_VERSION = '1'
BLAZARCLIENT_VERSION = '1'
lease = '/leases'
lease_path = '/leases/%s'

View File

@ -37,8 +37,7 @@ class ResourceReservationScenarioTest(manager.ScenarioTest):
@classmethod
def setup_clients(cls):
super(ResourceReservationScenarioTest, cls).setup_clients()
if not (CONF.service_available.climate or
CONF.service_available.blazar):
if not CONF.service_available.blazar:
raise cls.skipException("Resource reservation support is"
"required")