# Path: deckhand/control/base.py
# LOG = logging.getLogger(__name__)
# class BaseResource(object):
# class DeckhandRequest(falcon.Request):
#     def on_options(self, req, resp):
#     def from_yaml(self, req, expect_list=True, allow_empty=False):
#     def project_id(self):
#     def user_id(self):
#     def roles(self):
#     def __repr__(self):
# 
# Path: deckhand/tests/unit/control/base.py
# class BaseControllerTest(test_base.DeckhandWithDBTestCase,
#                          falcon_testing.TestCase):
#     def setUp(self):
#     def _read_data(self, file_name):


import mock
from deckhand.control import base as api_base
from deckhand.tests.unit.control import base as test_base
# Copyright 2017 AT&T Intellectual Property.  All other 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 TestBaseController(test_base.BaseControllerTest):

    def setUp(self):
        super(TestBaseController, self).setUp()
        self.base_resource = api_base.BaseResource()


# Path: deckhand/control/base.py
# LOG = logging.getLogger(__name__)
# class BaseResource(object):
# class DeckhandRequest(falcon.Request):
#     def on_options(self, req, resp):
#     def from_yaml(self, req, expect_list=True, allow_empty=False):
#     def project_id(self):
#     def user_id(self):
#     def roles(self):
#     def __repr__(self):
# 
# Path: deckhand/tests/unit/control/base.py
# class BaseControllerTest(test_base.DeckhandWithDBTestCase,
#                          falcon_testing.TestCase):
#     def setUp(self):
#     def _read_data(self, file_name):


# Path: deckhand/tests/unit/control/test_base_controller.py
import mock
from deckhand.control import base as api_base
from deckhand.tests.unit.control import base as test_base

# Copyright 2017 AT&T Intellectual Property.  All other 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 TestBaseController(test_base.BaseControllerTest):

    def setUp(self):
        super(TestBaseController, self).setUp()
        self.base_resource = api_base.BaseResource()


    @mock.patch.object(api_base, 'dir')  # noqa