def METHOD_NAME(self):
    log = snapshotlog.SnapshotLog(self.cfg)
    for i in range(10):
        log.append(str(i), 1)
    log.flush()
    self.assertEqual('\n'.join(log.get(skipLines = 0)),
                     '\n'.join([str(i) for i in range(10)]))