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: TestCase, savedJSON: str) -> str: ΒΆ

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.