def testImage(self):
    self.mobitest.parse()
    pprint(self.mobitest.records)
    for record in range(4):
        f = open(('imagerecord%d.jpg' % record), 'w')
        f.write(self.mobitest.readImageRecord(record))
        f.close()
def testImage(self):
    self.mobitest.parse()
    pprint(self.mobitest.records)
    for record in range(4):
        f = open(('imagerecord%d.jpg' % record), 'w')
        f.write(self.mobitest.readImageRecord(record))
        f.close()