class documentation

I provide a few mock tests that log setUp, tearDown, test execution and garbage collection. I'm used to test whether gc.collect gets called.

Class BasicTest Mock test to run.
Method collect Fake gc.collect
Method setUp Setup our test case
Method tearDown Tear down the test
Method _log Log function
Instance Variable _collectCalled Undocumented
Instance Variable _oldCollect Undocumented
def collect(self): (source)

Fake gc.collect

def setUp(self): (source)

Setup our test case

def tearDown(self): (source)

Tear down the test

def _log(self, msg): (source)

Log function

_collectCalled: list = (source)

Undocumented

_oldCollect = (source)

Undocumented