'test the min version of REST for eckd volume in 7.x.'

@mock.patch.object(helper.DS8KECKDHelper, '_get_version')
def test_verify_rest_version_for_5_7_eckd(self, mock_get_version):

    self.configuration.connection_type = storage.XIV_CONNECTION_TYPE_FC_ECKD
    self.configuration.ds8k_devadd_unitadd_mapping = 'C4-10'
    self.configuration.ds8k_ssid_prefix = 'FF'
    self.configuration.san_clustername = TEST_ECKD_POOL_ID
    mock_get_version.return_value = {'bundle_version': '5.7.50.0'}
    self.assertRaises(exception.VolumeDriverException, FakeDS8KECKDHelper, self.configuration, None)
