The horizon.test.tests.templatetags ModuleΒΆ
- class horizon.test.tests.templatetags.TemplateTagTests(methodName='runTest')[source]
Bases: horizon.test.helpers.TestCase
Test Custom Template Tag.
- render_template(template_text, tag_require='', context={})[source]
Render a Custom Template to string.
- render_template_tag(tag_name, tag_require='')[source]
- test_quota_filter()[source]
- test_site_branding_tag()[source]
Test if site_branding tag renders the correct setting.
- test_size_format_filters()[source]
- test_size_format_filters_with_string()[source]
- test_truncate_filter()[source]
- horizon.test.tests.templatetags.single_line(text)[source]
Quick utility to make comparing template output easier.