18995: fuse: do not overwrite function argument in test.
authorWard Vandewege <ward@curii.com>
Wed, 13 Apr 2022 19:26:24 +0000 (15:26 -0400)
committerWard Vandewege <ward@curii.com>
Wed, 13 Apr 2022 20:31:25 +0000 (16:31 -0400)
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

services/fuse/tests/performance/test_collection_performance.py

index 475e0e75e479f20e74e68fe541e018184fba8454..98bc98abd4cb2a9686f0e21d0bf514683bcde74a 100644 (file)
@@ -472,10 +472,9 @@ class FuseListLargeProjectContents(MountTestBase):
         project_contents = llfuse.listdir(self.mounttmp)
         self.assertEqual(201, len(project_contents))
         self.assertIn('Collection_1', project_contents)
-        return project_contents
 
     @profiled
-    def listContentsInProjectWithManyCollections(self, project_contents):
+    def listContentsInProjectWithManyCollections(self):
         project_contents = llfuse.listdir(self.mounttmp)
         self.assertEqual(201, len(project_contents))
         self.assertIn('Collection_1', project_contents)
@@ -488,5 +487,5 @@ class FuseListLargeProjectContents(MountTestBase):
     def test_listLargeProjectContents(self):
         self.make_mount(fuse.ProjectDirectory,
                         project_object=run_test_server.fixture('groups')['project_with_201_collections'])
-        project_contents = self.getProjectWithManyCollections()
-        self.listContentsInProjectWithManyCollections(project_contents)
+        self.getProjectWithManyCollections()
+        self.listContentsInProjectWithManyCollections()