The horizon.test.tests.templatetags ModuleΒΆ

class horizon.test.tests.templatetags.TemplateTagTests(methodName='runTest')[source]

Bases: horizon.test.helpers.TestCase

Test Custom Template Tag

TemplateTagTests.render_template_tag(tag_name, tag_require='')[source]

Render a Custom Template Tag to string

TemplateTagTests.test_site_branding_tag()[source]

Test if site_branding tag renders the correct setting

horizon.test.tests.templatetags.single_line(text)[source]

Quick utility to make comparing template output easier.

Previous topic

The horizon.test.tests.middleware Module

Next topic

The horizon.test.tests.base Module

This Page