# Path: osprofiler/opts.py
# _PROFILER_OPTS = [
#     _enabled_opt,
#     _trace_sqlalchemy_opt,
#     _hmac_keys_opt,
#     _connection_string_opt,
#     _es_doc_type_opt,
#     _es_scroll_time_opt,
#     _es_scroll_size_opt,
#     _socket_timeout_opt,
#     _sentinel_service_name_opt,
#     _filter_error_trace
# ]
# def set_defaults(conf, enabled=None, trace_sqlalchemy=None, hmac_keys=None,
#                  connection_string=None, es_doc_type=None,
#                  es_scroll_time=None, es_scroll_size=None,
#                  socket_timeout=None, sentinel_service_name=None):
# def is_trace_enabled(conf=None):
# def is_db_trace_enabled(conf=None):
# def enable_web_trace(conf=None):
# def disable_web_trace(conf=None):
# def list_opts():
# 
# Path: osprofiler/tests/test.py
# class TestCase(testcase.TestCase):
# class FunctionalTestCase(TestCase):
#     def setUp(self):


from unittest import mock
from oslo_config import fixture
from osprofiler import opts
from osprofiler.tests import test
# Copyright 2016 Mirantis Inc.
# All Rights Reserved.
#
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
#    not use this file except in compliance with the License. You may obtain
#    a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    License for the specific language governing permissions and limitations
#    under the License.





class ConfigTestCase(test.TestCase):
    def setUp(self):
        super(ConfigTestCase, self).setUp()
        self.conf_fixture = self.useFixture(fixture.Config())

    def test_options_defaults(self):

# Path: osprofiler/opts.py
# _PROFILER_OPTS = [
#     _enabled_opt,
#     _trace_sqlalchemy_opt,
#     _hmac_keys_opt,
#     _connection_string_opt,
#     _es_doc_type_opt,
#     _es_scroll_time_opt,
#     _es_scroll_size_opt,
#     _socket_timeout_opt,
#     _sentinel_service_name_opt,
#     _filter_error_trace
# ]
# def set_defaults(conf, enabled=None, trace_sqlalchemy=None, hmac_keys=None,
#                  connection_string=None, es_doc_type=None,
#                  es_scroll_time=None, es_scroll_size=None,
#                  socket_timeout=None, sentinel_service_name=None):
# def is_trace_enabled(conf=None):
# def is_db_trace_enabled(conf=None):
# def enable_web_trace(conf=None):
# def disable_web_trace(conf=None):
# def list_opts():
# 
# Path: osprofiler/tests/test.py
# class TestCase(testcase.TestCase):
# class FunctionalTestCase(TestCase):
#     def setUp(self):


# Path: osprofiler/tests/unit/test_opts.py
from unittest import mock
from oslo_config import fixture
from osprofiler import opts
from osprofiler.tests import test

# Copyright 2016 Mirantis Inc.
# All Rights Reserved.
#
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
#    not use this file except in compliance with the License. You may obtain
#    a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    License for the specific language governing permissions and limitations
#    under the License.





class ConfigTestCase(test.TestCase):
    def setUp(self):
        super(ConfigTestCase, self).setUp()
        self.conf_fixture = self.useFixture(fixture.Config())

    def test_options_defaults(self):

        opts.set_defaults(self.conf_fixture.conf)