'Test check for setup errors in Veritas HyperScale driver.
The test case checks happy path execution when driver version 1.0.0
is installed.'

@mock.patch('cinder.volume.drivers.veritas.utils.get_hyperscale_version')
def test_check_for_setup_error_exception(self, mock_ghv):

    mock_ghv.side_effect = exception.ErrorInHyperScaleVersion(cmd_error='mock    error')
    self.assertRaises(exception.VolumeBackendAPIException, self.driver.check_for_setup_error)
