'Normal case: compute_target_port is not specified.'

@mock.patch.object(utils, 'brick_get_connector_properties', side_effect=_brick_get_connector_properties)
@mock.patch.object(vsp_utils, 'execute', side_effect=_execute)
@mock.patch.object(db, 'volume_admin_metadata_get', side_effect=_volume_admin_metadata_get)
def test_initialize_connection_compute_port_not_specified(self, volume_admin_metadata_get, execute, brick_get_connector_properties):

    compute_connector = DEFAULT_CONNECTOR.copy()
    compute_connector['ip'] = '127.0.0.2'
    drv = vsp_fc.VSPFCDriver(configuration=self.configuration, db=db)
    self._setup_config()
    self.configuration.vsp_compute_target_ports = None
    drv.do_setup(None)
    ret = drv.initialize_connection(TEST_VOLUME[0], compute_connector)
    self.assertEqual('fibre_channel', ret['driver_volume_type'])
    self.assertEqual(['0123456789abcdef'], ret['data']['target_wwn'])
    self.assertEqual(0, ret['data']['target_lun'])
