From 502fbf825fba583c9927234835a556fd7291a283 Mon Sep 17 00:00:00 2001 From: Rishabh Dave Date: Fri, 31 Mar 2023 01:06:13 +0530 Subject: [PATCH] qa/cephfs: minor improvement in caps_helper Use Python type list instead of tuple since it get's necessary to modify members of this sequence. Signed-off-by: Rishabh Dave (cherry picked from commit 1a7ca489b4b84ae48c831ec63b201c024047b295) --- qa/tasks/cephfs/caps_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/cephfs/caps_helper.py b/qa/tasks/cephfs/caps_helper.py index 4e3d4280e40..d8a2d8f67c4 100644 --- a/qa/tasks/cephfs/caps_helper.py +++ b/qa/tasks/cephfs/caps_helper.py @@ -168,7 +168,7 @@ class CapTester(CephFSTestCase): f'cephfs_mntpt = {mount_x.cephfs_mntpt}\n' f'hostfs_mntpt = {mount_x.hostfs_mntpt}') mount_x.write_file(filepath, filedata) - self.test_set.append((mount_x, filepath, filedata)) + self.test_set.append([mount_x, filepath, filedata]) log.info(f'Test file created at "{filepath}" with the following ' f'data -\n"{filedata}"') -- 2.39.5