Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr Str Str Call AttributeLoad Call NameLoad NameLoad attr Str Str attr decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Str body Assign NameStore BinOpMod Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad Dict Assign NameStore Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Str Str Str Str Str Str Assign NameStore Str Assign NameStore Str For NameStore NameLoad body AugAssignAdd NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Str Str Str Assign NameStore Str Assign NameStore Str For NameStore NameLoad body AugAssignAdd NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Num Num Call NameLoad Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list decorator_list
N/A N/A re django.conf settings django.template Context django.template Template django.utils.text normalize_newlines horizon.test helpers test horizon.test.test_dashboards.cats.dashboard Cats horizon.test.test_dashboards.cats.kittens.panel Kittens horizon.test.test_dashboards.dogs.dashboard Dogs horizon.test.test_dashboards.dogs.puppies.panel Puppies single_line N/A N/A text N/A N/A N/A Quick utility to make comparing template output easier. N/A N/A N/A N/A N/A re sub  + N/A N/A N/A normalize_newlines text replace strip N/A TemplateTagTests N/A N/A test TestCase N/A N/A Test Custom Template Tag. render_template_tag N/A N/A self tag_name tag_require N/A N/A N/A tag_call N/A {%% %s %%} tag_name N/A N/A N/A self render_template tag_call tag_require N/A render_template N/A N/A self template_text tag_require context N/A None N/A N/A Render a Custom Template to string. N/A context N/A context N/A N/A template N/A Template N/A {%% load %s %%} %s N/A tag_require template_text N/A N/A N/A template render N/A Context context N/A test_site_branding_tag N/A N/A self N/A N/A N/A Test if site_branding tag renders the correct setting. N/A rendered_str N/A N/A self render_template_tag site_branding branding N/A N/A N/A self assertEqual N/A settings SITE_BRANDING N/A N/A rendered_str strip N/A tag site_branding renders %s N/A N/A rendered_str strip N/A test_size_format_filters N/A N/A self N/A N/A N/A size_str N/A 5|diskgbformat 10|diskgbformat 5555|mb_float_format 80|mb_float_format .5|mbformat 0.005|mbformat 0.0005|mbformat N/A expected  5GB 10GB 5.4GB 80MB 512KB 5KB 524Bytes  N/A text N/A size_filter size_str N/A N/A text N/A N/A {{ size_filter }}  N/A rendered_str N/A N/A self render_template tag_require sizeformat template_text text N/A N/A N/A self assertEqual expected rendered_str N/A test_size_format_filters_with_string N/A N/A self N/A N/A N/A size_str N/A "test"|diskgbformat "limit"|mb_float_format "no limit"|mbformat N/A expected  test limit no limit  N/A text N/A size_filter size_str N/A N/A text N/A N/A {{ size_filter }}  N/A rendered_str N/A N/A self render_template tag_require sizeformat template_text text N/A N/A N/A self assertEqual expected rendered_str N/A test_truncate_filter N/A N/A self N/A N/A N/A ctx_string N/A val1 val2 val3 he hellotrunc four N/A text {{ test.val1|truncate:1 }}#{{ test.val2|truncate:4 }}#{{ test.val3|truncate:10 }} N/A expected  h#h...#four N/A rendered_str N/A N/A self render_template tag_require truncate_filter template_text text context N/A test ctx_string N/A N/A N/A self assertEqual expected rendered_str N/A test_quota_filter N/A N/A self N/A N/A N/A ctx_string N/A val1 val2 val3 100 1000 N/A float inf N/A text {{ test.val1|quota:"TB" }}#{{ test.val2|quota }}#{{ test.val3|quota }} N/A expected  100 TB Available#1000 Available#(No Limit) N/A rendered_str N/A N/A self render_template tag_require horizon template_text text context N/A test ctx_string N/A N/A N/A self assertEqual expected rendered_str N/A test_horizon_main_nav N/A N/A self N/A N/A N/A text {% horizon_main_nav %} N/A expected 
                <div>
                    <ul class="nav nav-tabs" role="tablist">
                        <li>
                            <a href="/cats/" tabindex='1'>Cats</a>
                        </li>
                        <li>
                            <a href="/dogs/" tabindex='1'>Dogs</a>
                        </li>
                    </ul></div> N/A rendered_str N/A N/A self render_template tag_require horizon template_text text context N/A request N/A self request N/A N/A N/A self assertEqual N/A single_line rendered_str N/A single_line expected N/A N/A