# Path: os_brick/initiator/linuxfc.py
# LOG = logging.getLogger(__name__)
#         FC_HOST_SYSFS_PATH = '/sys/class/fc_host'
# class LinuxFibreChannel(linuxscsi.LinuxSCSI):
# class LinuxFibreChannelS390X(LinuxFibreChannel):
#     def has_fc_support(self):
#     def _get_hba_channel_scsi_target_lun(self, hba, conn_props):
#     def rescan_hosts(self, hbas, connection_properties):
#     def get_fc_hbas(self):
#     def get_fc_hbas_info(self):
#     def get_fc_wwpns(self):
#     def get_fc_wwnns(self):
#     def get_fc_hbas_info(self):
#     def configure_scsi_device(self, device_number, target_wwn, lun):
#     def deconfigure_scsi_device(self, device_number, target_wwn, lun):
# 
# Path: os_brick/tests/base.py
# class TestCase(testtools.TestCase):
#     SENTINEL = object()
#     def setUp(self):
#     def _common_cleanup(self):
#     def log_level(self, level):
#     def mock_object(self, obj, attr_name, new_attr=SENTINEL, **kwargs):
#     def patch(self, path, *args, **kwargs):


import os.path
from unittest import mock
from os_brick.initiator import linuxfc
from os_brick.tests import base
# (c) Copyright 2013 Hewlett-Packard Development Company, L.P.
#
#    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 LinuxFCTestCase(base.TestCase):

    def setUp(self):
        super(LinuxFCTestCase, self).setUp()
        self.cmds = []

        self.mock_object(os.path, 'exists', return_value=True)
        self.mock_object(os.path, 'isdir', return_value=True)

# Path: os_brick/initiator/linuxfc.py
# LOG = logging.getLogger(__name__)
#         FC_HOST_SYSFS_PATH = '/sys/class/fc_host'
# class LinuxFibreChannel(linuxscsi.LinuxSCSI):
# class LinuxFibreChannelS390X(LinuxFibreChannel):
#     def has_fc_support(self):
#     def _get_hba_channel_scsi_target_lun(self, hba, conn_props):
#     def rescan_hosts(self, hbas, connection_properties):
#     def get_fc_hbas(self):
#     def get_fc_hbas_info(self):
#     def get_fc_wwpns(self):
#     def get_fc_wwnns(self):
#     def get_fc_hbas_info(self):
#     def configure_scsi_device(self, device_number, target_wwn, lun):
#     def deconfigure_scsi_device(self, device_number, target_wwn, lun):
# 
# Path: os_brick/tests/base.py
# class TestCase(testtools.TestCase):
#     SENTINEL = object()
#     def setUp(self):
#     def _common_cleanup(self):
#     def log_level(self, level):
#     def mock_object(self, obj, attr_name, new_attr=SENTINEL, **kwargs):
#     def patch(self, path, *args, **kwargs):


# Path: os_brick/tests/initiator/test_linuxfc.py
import os.path
from unittest import mock
from os_brick.initiator import linuxfc
from os_brick.tests import base

# (c) Copyright 2013 Hewlett-Packard Development Company, L.P.
#
#    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 LinuxFCTestCase(base.TestCase):

    def setUp(self):
        super(LinuxFCTestCase, self).setUp()
        self.cmds = []

        self.mock_object(os.path, 'exists', return_value=True)
        self.mock_object(os.path, 'isdir', return_value=True)

        self.lfc = linuxfc.LinuxFibreChannel(None, execute=self.fake_execute)