def test_defaultLogLevel(self):
        """
        Published event should have log level of L{LogLevel.info}.
        """
        publishToNewObserver(
            self.observer, self.legacyEvent(), legacyLog.textFromEventDict
        )
        self.assertEqual(self.events[0]["log_level"], LogLevel.info)

        Published event should have log level of L{LogLevel.info}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/logger/test/test_legacy.py