From: Ward Vandewege Date: Wed, 13 Apr 2022 19:26:24 +0000 (-0400) Subject: 18995: fuse: do not overwrite function argument in test. X-Git-Tag: 2.5.0~200^2~2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/b3919687f18582ccff1a6316846dcb04d9b5f989 18995: fuse: do not overwrite function argument in test. Arvados-DCO-1.1-Signed-off-by: Ward Vandewege --- diff --git a/services/fuse/tests/performance/test_collection_performance.py b/services/fuse/tests/performance/test_collection_performance.py index 475e0e75e4..98bc98abd4 100644 --- a/services/fuse/tests/performance/test_collection_performance.py +++ b/services/fuse/tests/performance/test_collection_performance.py @@ -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()