'local_path common use case.'

@ddt.data(NFS_CONFIG1, NFS_CONFIG2, NFS_CONFIG3, NFS_CONFIG4)
def test_local_path(self, nfs_config):

    self.configuration.nfs_mount_point_base = self.TEST_MNT_POINT_BASE
    self._set_driver(extra_confs=nfs_config)
    drv = self._driver
    volume = fake_volume.fake_volume_obj(self.context, provider_location=self.TEST_NFS_EXPORT1)
    self.assertEqual(('/mnt/test/2f4f60214cf43c595666dd815f0360a4/%s' % volume.name), drv.local_path(volume))
