Package logilab :: Package common :: Package test :: Module unittest_tree
[frames] | no frames]

Module unittest_tree

source code

unit tests for module logilab.common.tree squeleton generated by /home/syt/bin/py2tests on Jan 20 at 10:43:25

Classes
  Node_ClassTest
a basic tree node, caracterised by an id
  PostfixedDepthFirstIterator_ClassTest
  PrefixedDepthFirstIterator_ClassTest
  post_order_list_FunctionTest
  pre_order_list_FunctionTest
Functions
 
make_tree(tuple) source code
Variables
  EX_CHILD_NOT_FOUND = 'No such child as \'%s\''
  EX_NODE_NOT_FOUND = 'No such node as \'%s\''
  EX_SIBLING_NOT_FOUND = 'No such sibling as \'%s\''
  __package__ = 'logilab.common.test'
  __revision__ = '$Id: unittest_tree.py,v 1.9 2005-09-07 23:44:0...
  tree = ('root', (('child_1_1', (('child_2_1', ()), ('child_2_2...
Variables Details

__revision__

Value:
'$Id: unittest_tree.py,v 1.9 2005-09-07 23:44:02 nico Exp $'

tree

Value:
('root',
 (('child_1_1',
   (('child_2_1', ()), ('child_2_2', (('child_3_1', ()))))),
  ('child_1_2', (('child_2_3', ())))))