From 36ec6f9e0b0676e533f9d203143b9f7b29da8b44 Mon Sep 17 00:00:00 2001 From: John Spray Date: Mon, 27 Jul 2015 23:18:23 +0100 Subject: [PATCH] tasks/cephfs: test_pool_perm whitespace PEP8-ize. Signed-off-by: John Spray --- tasks/cephfs/test_pool_perm.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tasks/cephfs/test_pool_perm.py b/tasks/cephfs/test_pool_perm.py index 0d3b5eb80f73e..97afdaa298270 100644 --- a/tasks/cephfs/test_pool_perm.py +++ b/tasks/cephfs/test_pool_perm.py @@ -1,13 +1,13 @@ - from textwrap import dedent from tasks.cephfs.cephfs_test_case import CephFSTestCase import os + class TestPoolPerm(CephFSTestCase): def test_pool_perm(self): self.mount_a.run_shell(["touch", "test_file"]) - file_path = os.path.join(self.mount_a.mountpoint, "test_file") + file_path = os.path.join(self.mount_a.mountpoint, "test_file") remote_script = dedent(""" import os @@ -27,7 +27,8 @@ class TestPoolPerm(CephFSTestCase): """) # set data pool read only - self.fs.mon_manager.raw_cluster_cmd_result('auth', 'caps', 'client.0', 'mon', 'allow r', 'osd', 'allow r pool=data') + self.fs.mon_manager.raw_cluster_cmd_result('auth', 'caps', 'client.0', 'mon', 'allow r', 'osd', + 'allow r pool=data') self.mount_a.umount_wait() self.mount_a.mount() @@ -37,7 +38,8 @@ class TestPoolPerm(CephFSTestCase): self.mount_a.run_python(remote_script.format(path=file_path, check_read=str(False))) # set data pool write only - self.fs.mon_manager.raw_cluster_cmd_result('auth', 'caps', 'client.0', 'mon', 'allow r', 'osd', 'allow w pool=data') + self.fs.mon_manager.raw_cluster_cmd_result('auth', 'caps', 'client.0', 'mon', 'allow r', 'osd', + 'allow w pool=data') self.mount_a.umount_wait() self.mount_a.mount() -- 2.39.5