]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/cephfs: minor improvement in caps_helper
authorRishabh Dave <ridave@redhat.com>
Thu, 30 Mar 2023 19:36:13 +0000 (01:06 +0530)
committerRishabh Dave <ridave@redhat.com>
Tue, 11 Apr 2023 06:33:49 +0000 (12:03 +0530)
Use Python type list instead of tuple since it get's necessary to modify
members of this sequence.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/caps_helper.py

index aad8f83ca12565f664c90ce5496ea2b8b873583e..5519786876da44b93a3d47d0fbd88294cbd112ca 100644 (file)
@@ -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}"')