示例#1
0
    def setUp(self):

        super(GRRFuseDatastoreOnlyTest, self).setUp()

        self.client_name = "C." + "1" * 16
        fixture_test_lib.ClientFixture(self.client_name, token=self.token)
        self.root = "/"

        self.passthrough = fuse_mount.GRRFuseDatastoreOnly(self.root,
                                                           token=self.token)
示例#2
0
 def testInvalidAFF4Root(self):
     with self.assertRaises(IOError):
         fuse_mount.GRRFuseDatastoreOnly("not_a_valid_path",
                                         token=self.token)