'Trailing empty lines of a multiline message are omitted from the
messages sent to the syslog.'

def test_emitStripsTrailingEmptyLines(self):

    self.observer.emit({'message': ('hello,\nworld\n\n',), 'isError': False, 'system': '-'})
    self.assertEqual(self.events, [(stdsyslog.LOG_INFO, '[-]    hello,'), (stdsyslog.LOG_INFO, '[-]     DCTB world')])
