Module Import alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad Str attr keyword Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call NameLoad NameLoad body Assign NameStore Call AttributeLoad Call NameLoad keyword Str keyword ListLoad Str attr keyword Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call NameLoad NameLoad body Assign NameStore Call AttributeLoad Call NameLoad keyword Str keyword ListLoad Str attr keyword Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call NameLoad NameLoad body Assign NameStore Call AttributeLoad Call NameLoad keyword Str keyword ListLoad Str attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias identifier Assign NameStore Call NameLoad keyword Dict Str Lambda arguments args NameParam defaults Call AttributeLoad Call NameLoad Str attr TupleLoad Call NameLoad Str NameLoad Call NameLoad Str Assign NameStore Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias identifier Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad keyword Dict Str Lambda arguments args NameParam defaults IfExp BinOpMod NameLoad Num NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Return Call NameLoad keyword Str decorator_list Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad decorator_list decorator_list TryExcept body Import alias handlers ExceptHandler type NameLoad body Expr Call NameLoad Str Delete NameDel
N/A N/A unittest bottle Jinja2Template jinja2_template jinja2_view touni tools warn test.tools chdir TestJinja2Template N/A N/A unittest TestCase N/A test_string N/A N/A self N/A N/A N/A  Templates: Jinja2 string N/A t N/A N/A N/A Jinja2Template start {{var}} end render var var N/A N/A N/A self assertEqual start var end N/A N/A join t N/A test_file N/A N/A self N/A N/A N/A  Templates: Jinja2 file N/A N/A chdir __file__ N/A N/A t N/A N/A N/A Jinja2Template name ./views/jinja2_simple.tpl lookup N/A . render var var N/A N/A N/A self assertEqual start var end N/A N/A join t N/A test_name N/A N/A self N/A N/A N/A  Templates: Jinja2 lookup by name  N/A N/A chdir __file__ N/A N/A t N/A N/A N/A Jinja2Template name jinja2_simple lookup N/A ./views/ render var var N/A N/A N/A self assertEqual start var end N/A N/A join t N/A test_notfound N/A N/A self N/A N/A N/A  Templates: Unavailable templates N/A N/A N/A self assertRaises Exception Jinja2Template name abcdef N/A test_error N/A N/A self N/A N/A N/A  Templates: Exceptions N/A N/A N/A self assertRaises Exception Jinja2Template {% for badsyntax N/A test_inherit N/A N/A self N/A N/A N/A  Templates: Jinja2 lookup and inherience  N/A N/A chdir __file__ N/A N/A t N/A N/A N/A Jinja2Template name jinja2_inherit lookup N/A ./views/ render N/A N/A N/A self assertEqual begin abc end N/A N/A join t N/A test_custom_filters N/A N/A self N/A N/A N/A Templates: jinja2 custom filters  bottle jinja2_template template N/A settings N/A dict filters N/A star N/A N/A N/A var N/A N/A N/A N/A touni join N/A N/A touni * var N/A touni * N/A t N/A Jinja2Template start {{var|star}} end settings N/A N/A N/A self assertEqual start *var* end N/A N/A t render var var N/A test_custom_tests N/A N/A self N/A N/A N/A Templates: jinja2 custom tests  bottle jinja2_template template N/A TEMPL N/A touni {% if var is even %}gerade{% else %}ungerade{% endif %} N/A settings N/A dict tests N/A even N/A N/A N/A x N/A N/A N/A x 2 False True N/A t N/A Jinja2Template TEMPL settings N/A N/A N/A self assertEqual gerade N/A N/A t render var 2 N/A N/A N/A self assertEqual ungerade N/A N/A t render var 1 N/A test_template_shortcut N/A N/A self N/A N/A N/A result N/A jinja2_template start {{var}} end var middle N/A N/A N/A self assertEqual N/A touni start middle end result N/A test_view_decorator N/A N/A self N/A N/A test N/A N/A N/A N/A N/A N/A dict var middle N/A N/A jinja2_view start {{var}} end N/A N/A N/A self assertEqual N/A touni start middle end N/A test N/A N/A N/A N/A N/A jinja2 N/A N/A N/A ImportError N/A N/A N/A warn No Jinja2 template support. Skipping tests. N/A TestJinja2Template