'L{eventsFromJSONLogFile} reads events from a file and automatically
detects use of C{u""} as the record separator.'

def test_readEventsAutoEmptyRecordSeparator(self):

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