'Calling L{_InputStream.readlines} after a call to L{_InputStream.read}
returns lines starting at the byte after the last byte returned by the
C{read} call.'

def test_readlinesAfterRead(self):

    bytes = 'hello\nworld\nfoo'
    def readlines(input):
        input.read(7)
        return input.readlines()
    d = self._renderAndReturnReaderResult(readlines, bytes)
    d.addCallback(self.assertEqual, ['orld\n', 'foo'])
    return d
