From 279a6ec22f5cdeaa0556c7f5d428fdbfe3383687 Mon Sep 17 00:00:00 2001 From: Bharat Kumar Kobagana Date: Mon, 11 May 2015 12:49:21 +0530 Subject: [PATCH] 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 --- cinder/tests/unit/test_glusterfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2