Tests for twisted.logger._json.

Function savedJSONInvariants Assert a few things about the result of eventAsJSON, then return it.
Class SaveLoadTests Tests for loading and saving log events.
Class FileLogObserverTests Tests for jsonFileLogObserver.
Class LogFileReaderTests Tests for eventsFromJSONLogFile.
def savedJSONInvariants(testCase, savedJSON):

Assert a few things about the result of eventAsJSON, then return it.

ParameterstestCaseThe TestCase with which to perform the assertions. (type: TestCase)
savedJSONThe result of eventAsJSON. (type: unicode (we hope))
ReturnssavedJSON (type: unicode)
RaisesAssertionErrorIf any of the preconditions fail.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.