django-permission
permission Package
permission
Package
backends
Module
conf
Module
handlers
Module
models
Module
Subpackages
django-permission
Docs
»
permission Package
»
tests Package
»
test_logics Package
Edit on GitHub
test_logics Package
¶
test_author
Module
¶
class
permission.tests.test_logics.test_author.
PermissionLogicsAuthorPermissionLogicTestCase
(
methodName='runTest'
)
[source]
¶
Bases:
django.test.testcases.TestCase
Attributes
Methods
setUp
(
)
[source]
¶
test_constructor
(
)
[source]
¶
test_constructor_with_specifing_any_permission
(
)
[source]
¶
test_constructor_with_specifing_change_permission
(
)
[source]
¶
test_constructor_with_specifing_delete_permission
(
)
[source]
¶
test_constructor_with_specifing_field_name
(
)
[source]
¶
test_has_perm_add_with_obj
(
)
[source]
¶
test_has_perm_add_with_obj_author
(
)
[source]
¶
test_has_perm_add_with_obj_author_diff_field_name
(
)
[source]
¶
test_has_perm_add_with_obj_author_non_any
(
)
[source]
¶
test_has_perm_add_with_obj_author_non_any_no_change
(
)
[source]
¶
test_has_perm_add_with_obj_author_non_any_no_delete
(
)
[source]
¶
test_has_perm_add_without_obj
(
)
[source]
¶
test_has_perm_change_with_obj
(
)
[source]
¶
test_has_perm_change_with_obj_author
(
)
[source]
¶
test_has_perm_change_with_obj_author_diff_field_name
(
)
[source]
¶
test_has_perm_change_with_obj_author_non_any
(
)
[source]
¶
test_has_perm_change_with_obj_author_non_any_no_change
(
)
[source]
¶
test_has_perm_change_with_obj_author_non_any_no_delete
(
)
[source]
¶
test_has_perm_change_without_obj
(
)
[source]
¶
test_has_perm_delete_with_obj
(
)
[source]
¶
test_has_perm_delete_with_obj_author
(
)
[source]
¶
test_has_perm_delete_with_obj_author_diff_field_name
(
)
[source]
¶
test_has_perm_delete_with_obj_non_any
(
)
[source]
¶
test_has_perm_delete_with_obj_non_any_no_change
(
)
[source]
¶
test_has_perm_delete_with_obj_non_any_no_delete
(
)
[source]
¶
test_has_perm_delete_without_obj
(
)
[source]
¶
test_base
Module
¶
class
permission.tests.test_logics.test_base.
PermissionLogicsPermissionLogicTestCase
(
methodName='runTest'
)
[source]
¶
Bases:
django.test.testcases.TestCase
Attributes
Methods
setUp
(
)
[source]
¶
test_constructor
(
)
[source]
¶
test_has_perm_add_wiht_obj
(
)
[source]
¶
test_has_perm_add_wihtout_obj
(
)
[source]
¶
test_has_perm_change_wiht_obj
(
)
[source]
¶
test_has_perm_change_wihtout_obj
(
)
[source]
¶
test_has_perm_delete_wiht_obj
(
)
[source]
¶
test_has_perm_delete_wihtout_obj
(
)
[source]
¶
test_collaborators
Module
¶
class
permission.tests.test_logics.test_collaborators.
PermissionLogicsCollaboratorsPermissionLogicTestCase
(
methodName='runTest'
)
[source]
¶
Bases:
django.test.testcases.TestCase
Attributes
Methods
setUp
(
)
[source]
¶
test_constructor
(
)
[source]
¶
test_constructor_with_specifing_any_permission
(
)
[source]
¶
test_constructor_with_specifing_change_permission
(
)
[source]
¶
test_constructor_with_specifing_delete_permission
(
)
[source]
¶
test_constructor_with_specifing_field_name
(
)
[source]
¶
test_has_perm_add_with_obj
(
)
[source]
¶
test_has_perm_add_with_obj_collaborators
(
)
[source]
¶
test_has_perm_add_with_obj_collaborators_diff_field_name
(
)
[source]
¶
test_has_perm_add_with_obj_collaborators_non_any
(
)
[source]
¶
test_has_perm_add_with_obj_collaborators_non_any_no_change
(
)
[source]
¶
test_has_perm_add_with_obj_collaborators_non_any_no_delete
(
)
[source]
¶
test_has_perm_add_without_obj
(
)
[source]
¶
test_has_perm_change_with_obj
(
)
[source]
¶
test_has_perm_change_with_obj_collaborators
(
)
[source]
¶
test_has_perm_change_with_obj_collaborators_diff_field_name
(
)
[source]
¶
test_has_perm_change_with_obj_collaborators_non_any
(
)
[source]
¶
test_has_perm_change_with_obj_collaborators_non_any_no_change
(
)
[source]
¶
test_has_perm_change_with_obj_collaborators_non_any_no_delete
(
)
[source]
¶
test_has_perm_change_without_obj
(
)
[source]
¶
test_has_perm_delete_with_obj
(
)
[source]
¶
test_has_perm_delete_with_obj_collaborators
(
)
[source]
¶
test_has_perm_delete_with_obj_collaborators_diff_field_name
(
)
[source]
¶
test_has_perm_delete_with_obj_non_any
(
)
[source]
¶
test_has_perm_delete_with_obj_non_any_no_change
(
)
[source]
¶
test_has_perm_delete_with_obj_non_any_no_delete
(
)
[source]
¶
test_has_perm_delete_without_obj
(
)
[source]
¶
Read the Docs
v: v0.5.3
Versions
latest
v0.5.3
0.4.5
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.