class documentation

class CallgraphTest(test_base.BaseTest): (source)

View In Hierarchy

Tests for the callgraph.

Method assertAttrsEqual Undocumented
Method assertCallsEqual Undocumented
Method assertHasFunctions Undocumented
Method assertParamsEqual Undocumented
Method index_code Generate references from a code string.
Method test_basic Undocumented
Method test_call_records Use a function's call records to infer param types.
Method test_class_level_calls Don't index calls outside a function.
Method test_no_outgoing_calls Capture a function with no outgoing calls.
Method test_remote Undocumented
Method test_toplevel_calls Don't index calls outside a function.
def assertAttrsEqual(self, attrs, expected): (source)

Undocumented

def assertCallsEqual(self, calls, expected): (source)

Undocumented

def assertHasFunctions(self, fns, expected): (source)

Undocumented

def assertParamsEqual(self, params, expected): (source)

Undocumented

def index_code(self, code, **kwargs): (source)

Generate references from a code string.

def test_basic(self): (source)

Undocumented

def test_call_records(self): (source)

Use a function's call records to infer param types.

def test_class_level_calls(self): (source)

Don't index calls outside a function.

def test_no_outgoing_calls(self): (source)

Capture a function with no outgoing calls.

def test_remote(self): (source)

Undocumented

def test_toplevel_calls(self): (source)

Don't index calls outside a function.