]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test_volume_client: remove superfluous arguments
authorRamana Raja <rraja@redhat.com>
Tue, 11 Oct 2016 08:48:29 +0000 (14:18 +0530)
committerRamana Raja <rraja@redhat.com>
Tue, 11 Oct 2016 09:08:11 +0000 (14:38 +0530)
Signed-off-by: Ramana Raja <rraja@redhat.com>
tasks/cephfs/test_volume_client.py

index ad4b102bc39481bb22bafb29ce2e32317a83d32c..f3725a7e20a1e943fb99220c7f904d0ae1b01ede 100644 (file)
@@ -146,7 +146,6 @@ vc.disconnect()
     def test_default_prefix(self):
         group_id = "grpid"
         volume_id = "volid"
-        guest_entity = "guest"
         DEFAULT_VOL_PREFIX = "volumes"
         DEFAULT_NS_PREFIX = "fsvolumens_"
 
@@ -160,7 +159,6 @@ vc.disconnect()
         """.format(
             group_id=group_id,
             volume_id=volume_id,
-            guest_entity=guest_entity
         )))
 
         # The dir should be created
@@ -304,7 +302,6 @@ vc.disconnect()
         """.format(
             group_id=group_id,
             volume_id=volume_id,
-            guest_entity=guest_entity
         )), volume_prefix, namespace_prefix)
 
     def test_idempotency(self):
@@ -384,7 +381,6 @@ vc.disconnect()
 
         pools_a = json.loads(self.fs.mon_manager.raw_cluster_cmd("osd", "dump", "--format=json-pretty"))['pools']
 
-        guest_entity = "guest"
         group_id = "grpid"
         volume_id = "volid"
         self._volume_client_python(self.mount_b, dedent("""
@@ -393,7 +389,6 @@ vc.disconnect()
         """.format(
             group_id=group_id,
             volume_id=volume_id,
-            guest_entity=guest_entity
         )))
 
         pools_b = json.loads(self.fs.mon_manager.raw_cluster_cmd("osd", "dump", "--format=json-pretty"))['pools']
@@ -594,7 +589,6 @@ vc.disconnect()
         """.format(
             group_id=group_id,
             volume_id=volume_id,
-            guest_entity=guest_entity
         )))
 
         # Authorize and configure credentials for the guest to mount the