class documentation

class SerializeAstTest(test_base.UnitTest): (source)

View In Hierarchy

Undocumented

Method test_find_class_types_visitor Undocumented
Method test_function Undocumented
Method test_load_top_level Tests that a pickled file can be read.
Method test_load_with_different_module_name Undocumented
Method test_load_with_same_module_name Explicitly set the module name and reload with the same name.
Method test_node_index_visitor_usage Confirms that the node index is used.
Method test_pickle Undocumented
Method test_pickle_metadata Undocumented
Method test_store_removes_init Undocumented
Method test_unrestorable_child Undocumented
Method test_unrestorable_dependency_error_with_module_index Undocumented
Method test_unrestorable_dependency_error_without_module_index Undocumented
Method _get_ast Undocumented
Method _store_ast Undocumented
def test_find_class_types_visitor(self): (source)

Undocumented

def test_function(self): (source)

Undocumented

def test_load_top_level(self): (source)

Tests that a pickled file can be read.

def test_load_with_different_module_name(self): (source)

Undocumented

def test_load_with_same_module_name(self): (source)

Explicitly set the module name and reload with the same name. The difference to testLoadTopLevel is that the module name does not match the filelocation.

def test_node_index_visitor_usage(self): (source)

Confirms that the node index is used. This removes the first node from the class_type_nodes list and checks that that node is not updated by ProcessAst.

def test_pickle(self): (source)

Undocumented

def test_pickle_metadata(self): (source)

Undocumented

def test_store_removes_init(self): (source)

Undocumented

def test_unrestorable_child(self): (source)

Undocumented

def test_unrestorable_dependency_error_with_module_index(self): (source)

Undocumented

def test_unrestorable_dependency_error_without_module_index(self): (source)

Undocumented

def _get_ast(self, temp_dir, module_name, src=None): (source)

Undocumented

def _store_ast(self, temp_dir, module_name, pickled_ast_filename, ast=None, loader=None, src_path=None, metadata=None): (source)

Undocumented