示例#1
0
 def setUp(self):
     super(RemoteFsConnectorTestCase, self).setUp()
     self.connection_properties = {
         'export': self.TEST_DEV,
         'name': '9c592d52-ce47-4263-8c21-4ecf3c029cdb'}
     self.connector = connector.RemoteFsConnector(
         'nfs', root_helper='sudo', nfs_mount_point_base='/mnt/test',
         nfs_mount_options='vers=3')
示例#2
0
 def setUp(self):
     super(RemoteFsConnectorTestCase, self).setUp()
     self.mox = mox.Mox()
     self.connection_properties = {
         'export': self.TEST_DEV,
         'name': '9c592d52-ce47-4263-8c21-4ecf3c029cdb'}
     self.connector = connector.RemoteFsConnector('nfs', root_helper='sudo')
     self.connector._remotefsclient._mount_options = None
     self.connector._remotefsclient._mount_base = '/mnt/test'