def test_saveLoadLevel(self) -> None:
    "\n        It's important that the C{log_level} key remain a\n        L{constantly.NamedConstant} object.\n        "
    inputEvent = dict(log_level=LogLevel.warn)
    loadedEvent = eventFromJSON(self.savedEventJSON(inputEvent))
    self.assertIs(loadedEvent['log_level'], LogLevel.warn)
It's important that the C{log_level} key remain a
L{constantly.NamedConstant} object.
def test_saveLoadLevel(self) -> None:
    "\n        It's important that the C{log_level} key remain a\n        L{constantly.NamedConstant} object.\n        "
    inputEvent = dict(log_level=LogLevel.warn)
    loadedEvent = eventFromJSON(self.savedEventJSON(inputEvent))
    self.assertIs(loadedEvent['log_level'], LogLevel.warn)