From: Bharat Kumar Kobagana Date: Mon, 11 May 2015 07:19:21 +0000 (+0530) Subject: GlusterFS: Renaming test case to test_mount_glusterfs X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=279a6ec22f5cdeaa0556c7f5d428fdbfe3383687;p=openstack-build%2Fcinder-build.git GlusterFS: Renaming test case to test_mount_glusterfs With the patch [1], GlusterFS is now using mount method in RemoteFsClient. That method mounts a gluster share only if it has not already been mounted. So, having test case name as test_mount_glusterfs_should_mount_correctly, doesn't make sense now. This patch changes its name to 'test_mount_glusterfs'. [1] https://review.openstack.org/#/c/165424/ Change-Id: I33c16a8315a11fc16ab478d667490f3f73002ee8 --- diff --git a/cinder/tests/unit/test_glusterfs.py b/cinder/tests/unit/test_glusterfs.py index 8e453e414..62ce241f6 100644 --- a/cinder/tests/unit/test_glusterfs.py +++ b/cinder/tests/unit/test_glusterfs.py @@ -147,7 +147,7 @@ class GlusterFsDriverTestCase(test.TestCase): '/mnt/test/ab03ab34eaca46a5fb81878f7e9b91fc/volume-123', drv.local_path(volume)) - def test_mount_glusterfs_should_mount_correctly(self): + def test_mount_glusterfs(self): """_mount_glusterfs common case usage.""" drv = self._driver