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())
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