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

def test_delete_should_not_delete_if_provider_location_not_provided(self):

    drv = self._driver
    drv._ensure_share_mounted = mock.Mock()
    drv._execute = mock.Mock()
    volume = self._simple_volume(display_name='volume-123', provider_location=None)
    drv.delete_volume(volume)
    drv._ensure_share_mounted.assert_not_called()
    drv._execute.assert_not_called()
