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

Module unittest_html

source code

unittests for logilab.common.html

:organization: Logilab
:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses

Classes
  UIlibHTMLGenerationTC
a basic tree node, caracterised by an id
Functions
 
make_tree(tupletree) source code
Variables
  __package__ = 'logilab.common.test'
  generated_html = '<table class="tree">\n<tr><td class="tree_ce...
  tree = ('root', (('child_1_1', (('child_2_1', ()), ('child_2_2...
Variables Details

generated_html

Value:
'''<table class="tree">
<tr><td class="tree_cell" rowspan="2"><div class="tree_cell">root</div\
></td><td class="tree_cell_1_1">&nbsp;</td><td class="tree_cell_1_2">&\
nbsp;</td><td class="tree_cell" rowspan="2"><div class="tree_cell">chi\
ld_1_1</div></td><td class="tree_cell_1_1">&nbsp;</td><td class="tree_\
cell_1_2">&nbsp;</td><td class="tree_cell" rowspan="2"><div class="tre\
e_cell">child_2_1</div></td><td class="tree_cell_0_1">&nbsp;</td><td c\
lass="tree_cell_0_2">&nbsp;</td><td rowspan="2">&nbsp;</td></tr>
...

tree

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