示例#1
0
文件: fs_test.py 项目: dashea/blivet
    def testSimple(self):
        an_fs = fs.TmpFS()

        # a nodev fs need not have been created to exist
        self.assertTrue(an_fs.exists)
        self.assertEqual(an_fs.device, "tmpfs")
        self.assertTrue(an_fs.testMount())
示例#2
0
文件: fs_test.py 项目: dashea/blivet
 def __init__(self, methodName='runTest'):
     super(ResizeTmpFSTestCase, self).__init__(methodName=methodName)
     self.an_fs = fs.TmpFS()
     self.an_fs.__class__._resizable = True
     self.mountpoint = None