# Path: os_brick/initiator/connectors/fibre_channel_s390x.py
# LOG = logging.getLogger(__name__)
# class FibreChannelConnectorS390X(fibre_channel.FibreChannelConnector):
#     def __init__(self, root_helper, driver=None,
#                  execute=None, use_multipath=False,
#                  device_scan_attempts=initiator.DEVICE_SCAN_ATTEMPTS_DEFAULT,
#                  *args, **kwargs):
#     def set_execute(self, execute):
#     def _get_host_devices(self, possible_devs):
#     def _get_lun_string(self, lun):
#     def _get_device_file_path(self, pci_num, target_wwn, lun):
#     def _remove_devices(self, connection_properties, devices, device_info):
# 
# 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/initiator/test_connector.py
# MY_IP = '10.0.0.1'
# FAKE_SCSI_WWN = '1234567890'
# class ZeroIntervalLoopingCall(loopingcall.FixedIntervalLoopingCall):
# class ConnectorUtilsTestCase(test_base.TestCase):
# class ConnectorTestCase(test_base.TestCase):
#     def start(self, interval, initial_delay=None, stop_on_exception=True):
#     def _test_brick_get_connector_properties(self, multipath,
#                                              enforce_multipath,
#                                              multipath_result,
#                                              mock_wwnns, mock_wwpns,
#                                              mock_initiator,
#                                              mock_nqn,
#                                              mock_hostuuid,
#                                              mock_sysuuid,
#                                              host='fakehost'):
#     def test_brick_get_connector_properties_connectors_called(self):
#     def test_brick_get_connector_properties(self):
#     def test_brick_get_connector_properties_multipath(self, mock_execute,
#                                                       mock_custom_execute):
#     def test_brick_get_connector_properties_fallback(self, mock_execute,
#                                                      mock_custom_execute):
#     def test_brick_get_connector_properties_raise(self, mock_execute):
#     def test_brick_connector_properties_override_hostname(self):
#     def setUp(self):
#     def fake_execute(self, *cmd, **kwargs):
#     def fake_connection(self):
#     def test_connect_volume(self):
#     def test_disconnect_volume(self):
#     def test_get_connector_properties(self):
#     def test_get_connector_mapping_win32(self):
#     def test_get_connector_mapping(self, mock_platform_machine):
#     def test_factory(self):
#     def test_check_valid_device_with_wrong_path(self):
#     def test_check_valid_device(self):
#     def test_check_valid_device_with_cmd_error(self):
#         def raise_except(*args, **kwargs):


from unittest import mock
from os_brick.initiator.connectors import fibre_channel_s390x
from os_brick.initiator import linuxfc
from os_brick.tests.initiator import test_connector
# (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 FibreChannelConnectorS390XTestCase(test_connector.ConnectorTestCase):

    def setUp(self):
        super(FibreChannelConnectorS390XTestCase, self).setUp()

# Path: os_brick/initiator/connectors/fibre_channel_s390x.py
# LOG = logging.getLogger(__name__)
# class FibreChannelConnectorS390X(fibre_channel.FibreChannelConnector):
#     def __init__(self, root_helper, driver=None,
#                  execute=None, use_multipath=False,
#                  device_scan_attempts=initiator.DEVICE_SCAN_ATTEMPTS_DEFAULT,
#                  *args, **kwargs):
#     def set_execute(self, execute):
#     def _get_host_devices(self, possible_devs):
#     def _get_lun_string(self, lun):
#     def _get_device_file_path(self, pci_num, target_wwn, lun):
#     def _remove_devices(self, connection_properties, devices, device_info):
# 
# 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/initiator/test_connector.py
# MY_IP = '10.0.0.1'
# FAKE_SCSI_WWN = '1234567890'
# class ZeroIntervalLoopingCall(loopingcall.FixedIntervalLoopingCall):
# class ConnectorUtilsTestCase(test_base.TestCase):
# class ConnectorTestCase(test_base.TestCase):
#     def start(self, interval, initial_delay=None, stop_on_exception=True):
#     def _test_brick_get_connector_properties(self, multipath,
#                                              enforce_multipath,
#                                              multipath_result,
#                                              mock_wwnns, mock_wwpns,
#                                              mock_initiator,
#                                              mock_nqn,
#                                              mock_hostuuid,
#                                              mock_sysuuid,
#                                              host='fakehost'):
#     def test_brick_get_connector_properties_connectors_called(self):
#     def test_brick_get_connector_properties(self):
#     def test_brick_get_connector_properties_multipath(self, mock_execute,
#                                                       mock_custom_execute):
#     def test_brick_get_connector_properties_fallback(self, mock_execute,
#                                                      mock_custom_execute):
#     def test_brick_get_connector_properties_raise(self, mock_execute):
#     def test_brick_connector_properties_override_hostname(self):
#     def setUp(self):
#     def fake_execute(self, *cmd, **kwargs):
#     def fake_connection(self):
#     def test_connect_volume(self):
#     def test_disconnect_volume(self):
#     def test_get_connector_properties(self):
#     def test_get_connector_mapping_win32(self):
#     def test_get_connector_mapping(self, mock_platform_machine):
#     def test_factory(self):
#     def test_check_valid_device_with_wrong_path(self):
#     def test_check_valid_device(self):
#     def test_check_valid_device_with_cmd_error(self):
#         def raise_except(*args, **kwargs):


# Path: os_brick/tests/initiator/connectors/test_fibre_channel_s390x.py
from unittest import mock
from os_brick.initiator.connectors import fibre_channel_s390x
from os_brick.initiator import linuxfc
from os_brick.tests.initiator import test_connector

# (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 FibreChannelConnectorS390XTestCase(test_connector.ConnectorTestCase):

    def setUp(self):
        super(FibreChannelConnectorS390XTestCase, self).setUp()

        self.connector = fibre_channel_s390x.FibreChannelConnectorS390X(