permission.tests.test_utils package

Submodules

permission.tests.test_utils.test_field_lookup module

class permission.tests.test_utils.test_field_lookup.PermissionUtilsFieldLookupTestCase(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

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

test_field_lookup_author()[source]
test_field_lookup_author_username()[source]
test_field_lookup_editors()[source]
test_field_lookup_editors_username()[source]
test_field_lookup_multiple_bridge_author()[source]
test_field_lookup_multiple_bridge_author_username()[source]
test_field_lookup_multiple_bridge_editors()[source]
test_field_lookup_multiple_bridge_editors__name()[source]
test_field_lookup_single_bridge_author()[source]
test_field_lookup_single_bridge_author_username()[source]
test_field_lookup_single_bridge_editors()[source]
test_field_lookup_single_bridge_editors_username()[source]

permission.tests.test_utils.test_handlers module

class permission.tests.test_utils.test_handlers.PermissionUtilsHandlersTestCase(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

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

test_get_handlers()[source]
test_register()[source]
test_register_duplicate()[source]
test_register_non_permission_handler()[source]
test_register_permission_handler_instance()[source]
test_register_with_abstract_model()[source]
test_register_without_specifing_handler()[source]
test_unregister()[source]
test_unregister_absence()[source]

permission.tests.test_utils.test_logics module

class permission.tests.test_utils.test_logics.PermissionUtilsLogicsTestCase(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_add_permission_logic_private_attributes()[source]
test_add_permission_logic_registry()[source]
test_remove_permission_logic_exception()[source]
test_remove_permission_logic_private_attributes()[source]
test_remove_permission_logic_registry()[source]
test_remove_permission_logic_registry_with_class()[source]

permission.tests.test_utils.test_permissions module

Module contents