[ARVADOS] updated: fb24229eaf2d3af64fe406de850ab25b9c0611e1

git at public.curoverse.com git at public.curoverse.com
Fri Sep 5 09:34:45 EDT 2014


Summary of changes:
 services/fuse/tests/test_mount.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

       via  fb24229eaf2d3af64fe406de850ab25b9c0611e1 (commit)
      from  9479599527ffdf5e4de14e8ccc79eeb3c6776526 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit fb24229eaf2d3af64fe406de850ab25b9c0611e1
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Fri Sep 5 08:47:33 2014 -0400

    3644: fuse_arvados test pass.

diff --git a/services/fuse/tests/test_mount.py b/services/fuse/tests/test_mount.py
index d6c1ee7..5474061 100644
--- a/services/fuse/tests/test_mount.py
+++ b/services/fuse/tests/test_mount.py
@@ -67,7 +67,7 @@ class FuseMountTest(MountTestBase):
     def runTest(self):
         # Create the request handler
         operations = fuse.Operations(os.getuid(), os.getgid())
-        e = operations.inodes.add_entry(fuse.CollectionDirectory(llfuse.ROOT_INODE, operations.inodes, self.testcollection))
+        e = operations.inodes.add_entry(fuse.CollectionDirectory(llfuse.ROOT_INODE, operations.inodes, None, self.testcollection))
 
         llfuse.init(operations, self.mounttmp, [])
         t = threading.Thread(None, lambda: llfuse.main())
@@ -121,7 +121,7 @@ class FuseMagicTest(MountTestBase):
     def runTest(self):
         # Create the request handler
         operations = fuse.Operations(os.getuid(), os.getgid())
-        e = operations.inodes.add_entry(fuse.MagicDirectory(llfuse.ROOT_INODE, operations.inodes))
+        e = operations.inodes.add_entry(fuse.MagicDirectory(llfuse.ROOT_INODE, operations.inodes, None))
 
         self.mounttmp = tempfile.mkdtemp()
 
@@ -135,7 +135,7 @@ class FuseMagicTest(MountTestBase):
         # now check some stuff
         d1 = os.listdir(self.mounttmp)
         d1.sort()
-        self.assertEqual([], d1)
+        self.assertEqual(['README'], d1)
 
         d2 = os.listdir(os.path.join(self.mounttmp, self.testcollection))
         d2.sort()
@@ -143,7 +143,7 @@ class FuseMagicTest(MountTestBase):
 
         d3 = os.listdir(self.mounttmp)
         d3.sort()
-        self.assertEqual([self.testcollection], d3)
+        self.assertEqual(['README', self.testcollection], d3)
 
         files = {}
         files[os.path.join(self.mounttmp, self.testcollection, 'thing1.txt')] = 'data 1'

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list