From b3919687f18582ccff1a6316846dcb04d9b5f989 Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Wed, 13 Apr 2022 15:26:24 -0400 Subject: [PATCH] 18995: fuse: do not overwrite function argument in test. Arvados-DCO-1.1-Signed-off-by: Ward Vandewege --- .../fuse/tests/performance/test_collection_performance.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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() -- 2.30.2