Module ImportFrom alias ImportFrom alias identifier alias ImportFrom alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Raise Call NameLoad Str orelse ImportFrom alias alias identifier ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Str Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore NameLoad ClassDef bases NameLoad body Assign NameStore ListLoad Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return AttributeLoad NameLoad attr decorator_list decorator_list Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Delete AttributeDel NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd Str NameLoad Str attr BoolOpOr NameLoad Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Str Str Assert CompareEq Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Dict Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Num Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Assert CompareEq NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Dict Str Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq Call NameLoad NameLoad Num Assert CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr Str decorator_list decorator_list
N/A nose.plugins.skip SkipTest webassets Environment AssetsEnvironment Bundle webassets.test TempEnvironmentHelper N/A N/A N/A jinja2 N/A N/A N/A ImportError N/A N/A N/A SkipTest Jinja2 not installed N/A jinja2 Template Environment JinjaEnvironment webassets.ext.jinja2 AssetsExtension Jinja2Loader TestTemplateTag N/A object N/A setup N/A N/A self N/A N/A N/A assets_env N/A AssetsEnvironment N/A N/A self foo_bundle N/A Bundle N/A N/A self bar_bundle N/A Bundle N/A N/A N/A assets_env register foo_bundle N/A self foo_bundle N/A N/A N/A assets_env register bar_bundle N/A self bar_bundle N/A test_instance self MockBundle N/A Bundle N/A N/A urls_to_fake N/A foo __init__ N/A N/A self N/A a kw N/A N/A N/A N/A Bundle __init__ self a kw N/A N/A self env assets_env N/A N/A self dbg N/A N/A kw get debug None N/A N/A test_instance the_bundle self N/A urls N/A N/A self N/A a kw N/A N/A N/A self urls_to_fake N/A N/A N/A N/A self _old_bundle_class N/A AssetsExtension BundleClass N/A N/A AssetsExtension BundleClass N/A self BundleClass MockBundle N/A N/A self jinja_env N/A JinjaEnvironment N/A N/A N/A N/A self jinja_env add_extension AssetsExtension N/A N/A N/A self jinja_env assets_environment assets_env N/A teardown N/A N/A self N/A N/A N/A N/A AssetsExtension BundleClass N/A self _old_bundle_class N/A N/A self _old_bundle_class N/A render_template N/A N/A self args ctx N/A None N/A N/A N/A N/A N/A N/A N/A self jinja_env from_string N/A N/A {% assets  args  %}{{ ASSET_URL }};{% endassets %} render N/A ctx N/A N/A test_reference_bundles N/A N/A self N/A N/A N/A N/A N/A self render_template "foo_bundle", "bar_bundle" N/A N/A N/A N/A self the_bundle contents N/A N/A self foo_bundle N/A self bar_bundle N/A test_reference_files N/A N/A self N/A N/A N/A N/A N/A self render_template "file1", "file2", "file3" N/A N/A N/A N/A self the_bundle contents N/A file1 file2 file3 N/A test_reference_files_list N/A N/A self N/A N/A N/A N/A N/A self render_template ["file1", "file2", "file3"] N/A N/A N/A N/A self the_bundle contents N/A file1 file2 file3 N/A test_reference_files_tuple N/A N/A self N/A N/A N/A N/A N/A self render_template ("file1", "file2", "file3") N/A N/A N/A N/A self the_bundle contents N/A file1 file2 file3 N/A test_reference_files_mixed N/A N/A self N/A N/A N/A N/A N/A self render_template "file1", ("file2", "file3") N/A N/A N/A N/A self the_bundle contents N/A file1 file2 file3 N/A test_reference_mixed N/A N/A self N/A N/A N/A N/A N/A self render_template "foo_bundle", "file2", "file3" N/A N/A N/A N/A self the_bundle contents N/A N/A self foo_bundle file2 file3 N/A test_with_vars N/A N/A self N/A N/A N/A N/A N/A self render_template var1, var2 N/A var1 var2 N/A self foo_bundle a_file N/A N/A N/A N/A self the_bundle contents N/A N/A self foo_bundle a_file N/A test_output_urls N/A N/A self N/A N/A N/A Ensure the tag correctly spits out the urls the bundle returns.
         N/A N/A N/A self BundleClass urls_to_fake N/A foo bar N/A N/A N/A N/A self render_template "file1" "file2" "file3" foo;bar; N/A test_debug_on_tag N/A N/A self N/A N/A N/A content N/A N/A N/A N/A N/A self jinja_env from_string {% assets debug="True", "debug1.txt" %}{{ ASSET_URL }};{% endassets %} render N/A N/A N/A N/A N/A self the_bundle dbg True N/A test_extra_values N/A N/A self N/A N/A N/A N/A N/A self foo_bundle extra N/A moo 42 N/A output N/A N/A N/A N/A N/A self jinja_env from_string {% assets "foo_bundle" %}{{ EXTRA.moo }}{% endassets %} render N/A N/A output 42 N/A N/A TestLoader N/A TempEnvironmentHelper N/A N/A default_files N/A template.html 
            <h1>Test</h1>
            {% if foo %}
                {% assets "A", "B", "C", output="output.html" %}
                    {{ ASSET_URL }}
                {% endassets %}
            {% endif %}
             setup N/A N/A self N/A N/A N/A N/A N/A TempEnvironmentHelper setup self N/A N/A self jinja_env N/A JinjaEnvironment N/A N/A N/A N/A self jinja_env add_extension AssetsExtension N/A N/A N/A self jinja_env assets_environment N/A self env N/A test N/A N/A self N/A N/A N/A loader N/A Jinja2Loader N/A self env N/A N/A self tempdir N/A N/A self jinja_env N/A bundles N/A N/A loader load_bundles N/A N/A N/A len bundles 1 N/A N/A N/A N/A bundles N/A 0 output output.html N/A N/A