'Insufficient space on nfs_share during extend operation.'

def test_extend_volume_insufficient_space(self):

    self._set_driver()
    drv = self._driver
    volume = fake_volume.fake_volume_obj(self.context, id='80ee16b6-75d2-4d54-9539-ffc1b4b0fb10', size=1, provider_location='nfs_share')
    with mock.patch.object(image_utils, 'resize_image'):
        with mock.patch.object(drv, 'local_path', return_value='path'):
            with mock.patch.object(drv, '_is_share_eligible', return_value=False):
                with mock.patch.object(drv, '_is_file_size_equal', return_value=False):
                    self.assertRaises(exception.ExtendVolumeError, drv.extend_volume, volume, 2)
