# License for the specific language governing permissions and limitations # under the License. import os import sys import traceback import unittest2 from oslo.config import cfg import requests from fuel_health.common import log as logging from fuel_health import exceptions LOG = logging.getLogger(__name__) identity_group = cfg.OptGroup(name='identity', title="Keystone Configuration Options") IdentityGroup = [ cfg.StrOpt('catalog_type', default='identity', help="Catalog type of the Identity service."), cfg.BoolOpt('disable_ssl_certificate_validation', default=False, help="Set to True if using self-signed SSL certificates."), cfg.StrOpt('uri', default='http://localhost/', help="Full URI of the OpenStack Identity API (Keystone), v2"), cfg.StrOpt('url',
# License for the specific language governing permissions and limitations # under the License. import time import traceback import testresources import unittest2 from fuel_health.common import log as logging from fuel_health.common.ssh import Client as SSHClient from fuel_health.common.test_mixins import FuelTestAssertMixin from fuel_health import config LOG = logging.getLogger(__name__) class BaseTestCase(unittest2.TestCase, testresources.ResourcedTestCase, FuelTestAssertMixin): def __init__(self, *args, **kwargs): super(BaseTestCase, self).__init__(*args, **kwargs) @classmethod def setUpClass(cls): if hasattr(super(BaseTestCase, cls), 'setUpClass'): super(BaseTestCase, cls).setUpClass() cls.config = config.FuelConfig()