permission.tests.test_templatetags package

Submodules

permission.tests.test_templatetags.test_permissionif module

class permission.tests.test_templatetags.test_permissionif.PermissionTemplateTagsTestCase(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_permissionif_tag()[source]
test_permissionif_tag_and()[source]
test_permissionif_tag_elif()[source]
test_permissionif_tag_else()[source]
test_permissionif_tag_or()[source]
test_permissionif_tag_with_obj()[source]
class permission.tests.test_templatetags.test_permissionif.PermissionTemplateTagsWithBuiltinTestCase(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

test_if_tag()[source]
test_if_tag_and()[source]
test_if_tag_elif()[source]
test_if_tag_else()[source]
test_if_tag_or()[source]
test_if_tag_with_obj()[source]
test_permissionif_tag()[source]
test_permissionif_tag_and()[source]
test_permissionif_tag_elif()[source]
test_permissionif_tag_else()[source]
test_permissionif_tag_or()[source]
test_permissionif_tag_with_obj()[source]

Module contents