'L{eventsFromJSONLogFile} reads events from a file and is told to use
a specific record separator.'

def test_readEventsExplicitRecordSeparator(self):

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