Skip to content

Commit

Permalink
test_volume_client: remove superfluous arguments
Browse files Browse the repository at this point in the history
Signed-off-by: Ramana Raja <rraja@redhat.com>
  • Loading branch information
ajarr committed Oct 11, 2016
1 parent 91c74f4 commit bb60e01
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tasks/cephfs/test_volume_client.py
Expand Up @@ -146,7 +146,6 @@ def _configure_guest_auth(self, volumeclient_mount, guest_mount,
def test_default_prefix(self):
group_id = "grpid"
volume_id = "volid"
guest_entity = "guest"
DEFAULT_VOL_PREFIX = "volumes"
DEFAULT_NS_PREFIX = "fsvolumens_"

Expand All @@ -160,7 +159,6 @@ def test_default_prefix(self):
""".format(
group_id=group_id,
volume_id=volume_id,
guest_entity=guest_entity
)))

# The dir should be created
Expand Down Expand Up @@ -304,7 +302,6 @@ def test_lifecycle(self):
""".format(
group_id=group_id,
volume_id=volume_id,
guest_entity=guest_entity
)), volume_prefix, namespace_prefix)

def test_idempotency(self):
Expand Down Expand Up @@ -384,7 +381,6 @@ def test_data_isolated(self):

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("""
Expand All @@ -393,7 +389,6 @@ def test_data_isolated(self):
""".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']
Expand Down Expand Up @@ -594,7 +589,6 @@ def test_readonly_authorization(self):
""".format(
group_id=group_id,
volume_id=volume_id,
guest_entity=guest_entity
)))

# Authorize and configure credentials for the guest to mount the
Expand Down

0 comments on commit bb60e01

Please sign in to comment.