Module Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Dict Str Str Call AttributeLoad NameLoad attr Str Str Dict Str Str Call AttributeLoad NameLoad attr Str Str Dict Str Str Call AttributeLoad NameLoad attr Str Str Dict Str Str Call AttributeLoad NameLoad attr Str Str Dict Str Str Call AttributeLoad NameLoad attr Str Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest hamlpy nodes TestElementNode N/A N/A unittest TestCase N/A test_calculates_indentation_properly N/A N/A self N/A N/A N/A no_indentation N/A N/A nodes ElementNode %div N/A N/A N/A self assertEqual 0 N/A no_indentation indentation N/A three_indentation N/A N/A nodes ElementNode    %div N/A N/A N/A self assertEqual 3 N/A three_indentation indentation N/A six_indentation N/A N/A nodes ElementNode       %div N/A N/A N/A self assertEqual 6 N/A six_indentation indentation N/A test_indents_tabs_properly N/A N/A self N/A N/A N/A no_indentation N/A N/A nodes ElementNode %div N/A N/A N/A self assertEqual N/A no_indentation spaces N/A one_tab N/A N/A nodes HamlNode 	%div N/A N/A N/A self assertEqual N/A one_tab spaces N/A one_space N/A N/A nodes HamlNode  %div N/A N/A N/A self assertEqual N/A one_space spaces N/A three_tabs N/A N/A nodes HamlNode 			%div N/A N/A N/A self assertEqual N/A three_tabs spaces N/A tab_space N/A N/A nodes HamlNode 	 %div N/A N/A N/A self assertEqual N/A tab_space spaces N/A space_tab N/A N/A nodes HamlNode  	%div N/A N/A N/A self assertEqual N/A space_tab spaces N/A test_lines_are_always_stripped_of_whitespace N/A N/A self N/A N/A N/A some_space N/A N/A nodes ElementNode    %div N/A N/A N/A self assertEqual %div N/A some_space haml N/A lots_of_space N/A N/A nodes ElementNode       %div     N/A N/A N/A self assertEqual %div N/A lots_of_space haml N/A test_inserts_nodes_into_proper_tree_depth N/A N/A self N/A N/A N/A no_indentation_node N/A N/A nodes ElementNode %div N/A one_indentation_node N/A N/A nodes ElementNode  %div N/A two_indentation_node N/A N/A nodes ElementNode   %div N/A another_one_indentation_node N/A N/A nodes ElementNode  %div N/A N/A N/A no_indentation_node add_node one_indentation_node N/A N/A N/A no_indentation_node add_node two_indentation_node N/A N/A N/A no_indentation_node add_node another_one_indentation_node N/A N/A N/A self assertEqual one_indentation_node N/A N/A no_indentation_node children N/A 0 N/A N/A N/A self assertEqual two_indentation_node N/A N/A N/A N/A no_indentation_node children N/A 0 children N/A 0 N/A N/A N/A self assertEqual another_one_indentation_node N/A N/A no_indentation_node children N/A 1 N/A test_adds_multiple_nodes_to_one N/A N/A self N/A N/A N/A start N/A N/A nodes ElementNode %div N/A one N/A N/A nodes ElementNode   %div N/A two N/A N/A nodes ElementNode   %div N/A three N/A N/A nodes ElementNode   %div N/A N/A N/A start add_node one N/A N/A N/A start add_node two N/A N/A N/A start add_node three N/A N/A N/A self assertEqual 3 N/A len N/A start children N/A test_html_indentation_vs_haml_indentation N/A N/A self N/A N/A N/A N/A test_node_parent_function N/A N/A self N/A N/A N/A root N/A N/A nodes ElementNode %div.a N/A elements N/A N/A node expected_parent N/A N/A nodes ElementNode   %div.b root N/A node expected_parent N/A N/A nodes ElementNode   %div.c root N/A node expected_parent N/A N/A nodes ElementNode     %div.d elements[1]["node"] N/A node expected_parent N/A N/A nodes ElementNode       %div.e elements[2]["node"] N/A node expected_parent N/A N/A nodes ElementNode   %div.f root N/A el elements N/A N/A N/A N/A self assertEqual N/A N/A root parent_of N/A el N/A node N/A eval N/A el N/A expected_parent N/A N/A N/A root add_node N/A el N/A node N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main