'If the old-style C{"logLevel"} key is set to a standard library logging
level, using a string value, the new-style C{"log_level"} key should
get set to the corresponding log level.'

def test_stdlibLogLevelWithString(self):

    publishToNewObserver(self.observer, self.legacyEvent(logLevel='WARNING'), legacyLog.textFromEventDict)
    self.assertEqual(self.events[0]['log_level'], LogLevel.warn)
