X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0c8cf79d48283ecbe376ab958ad2ac90bbb34e59..fcdaf1cedc195d3835a96d89471837ae321c5063:/services/fuse/tests/mount_test_base.py diff --git a/services/fuse/tests/mount_test_base.py b/services/fuse/tests/mount_test_base.py index 3b7cbaaadb..9fb24dbcb1 100644 --- a/services/fuse/tests/mount_test_base.py +++ b/services/fuse/tests/mount_test_base.py @@ -35,7 +35,10 @@ class MountTestBase(unittest.TestCase): self.api = api if api else arvados.safeapi.ThreadSafeApiCache(arvados.config.settings()) def make_mount(self, root_class, **root_kwargs): - self.operations = fuse.Operations(os.getuid(), os.getgid(), enable_write=True) + self.operations = fuse.Operations( + os.getuid(), os.getgid(), + api_client=self.api, + enable_write=True) self.operations.inodes.add_entry(root_class( llfuse.ROOT_INODE, self.operations.inodes, self.api, 0, **root_kwargs)) llfuse.init(self.operations, self.mounttmp, [])