'delete_volume shouldn\'t delete if provider_location missed.'

def test_delete_should_not_delete_if_provider_location_not_provided(self):

    self._set_driver()
    drv = self._driver
    volume = fake_volume.fake_volume_obj(self.context, name='volume-123', provider_location=None)
    with mock.patch.object(drv, '_ensure_share_mounted'):
        drv.delete_volume(volume)
        self.assertFalse(drv._execute.called)
