From 1a7ca489b4b84ae48c831ec63b201c024047b295 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 --- 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 aad8f83ca12..5519786876d 100644 --- a/qa/tasks/cephfs/caps_helper.py +++ b/qa/tasks/cephfs/caps_helper.py @@ -144,7 +144,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