def testShrink(self):
     data = string.ascii_uppercase[:10]
     rhandler.truncateFile(self.path, len(data))
     self.checkData(data)
Example #2
0
 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)
Example #4
0
 def testEnlarge(self):
     data = string.ascii_uppercase + '\0' * 16
     rhandler.truncateFile(self.path, len(data))
     self.checkData(data)