'Calling L{_InputStream.readlines} with no arguments returns a list of
all lines from the input stream.'

def test_readlines(self):

    bytes = 'alice\nbob\ncarol'
    d = self._renderAndReturnReaderResult((lambda input: input.readlines()), bytes)
    d.addCallback(self.assertEqual, ['alice\n', 'bob\n', 'carol'])
    return d
