Beispiel #1
0
def prepare_service(args=None):
    """Configures application and setups logging."""
    options.register_opts(cfg.CONF)
    services.load_service_opts(cfg.CONF)
    _configure(args)
    _setup_logging()

    cfg.CONF.log_opt_values(logging.getLogger(), logging.DEBUG)
Beispiel #2
0
def prepare_service(args=None):
    """Configures application and setups logging."""
    options.register_opts(cfg.CONF)
    services.load_service_opts(cfg.CONF)
    _configure(args)
    _setup_logging()

    cfg.CONF.log_opt_values(logging.getLogger(), logging.DEBUG)
Beispiel #3
0
    def setUp(self):
        super(BaseTest, self).setUp()

        self.CONF = self.useFixture(fixture_config.Config()).conf
        options.register_opts(self.CONF)
        self.CONF([], project=tvrenamer.PROJECT_NAME)
Beispiel #4
0
    def setUp(self):
        super(BaseTest, self).setUp()

        self.CONF = self.useFixture(fixture_config.Config()).conf
        options.register_opts(self.CONF)
        self.CONF([], project=tvrenamer.PROJECT_NAME)