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

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

Parameters
testCase:TestCaseThe TestCase with which to perform the assertions.
savedJSON:strThe result of eventAsJSON.
Returns
strsavedJSON
Raises
AssertionErrorIf any of the preconditions fail.