def testShrink(self): data = string.ascii_uppercase[:10] rhandler.truncateFile(self.path, len(data)) self.checkData(data)
def testEnlarge(self): data = string.ascii_uppercase + '\0' * 16 rhandler.truncateFile(self.path, len(data)) self.checkData(data)