'L{eventsFromJSONLogFile} handles buffering a partial event.'

def test_readEventsPartialBuffer(self):

    with StringIO(u'\x1e{"x":    1}\n\x1e{"y":    2}\n') as fileHandle:
        self._readEvents(fileHandle, bufferSize=1)
        self.assertEqual(len(self.errorEvents), 0)
