'It\'s important that the C{log_level} key remain a
L{constantly.NamedConstant} object.'

def test_saveLoadLevel(self):

    inputEvent = dict(log_level=LogLevel.warn)
    loadedEvent = eventFromJSON(self.savedEventJSON(inputEvent))
    self.assertIs(loadedEvent['log_level'], LogLevel.warn)
