Admin¶
Factories¶
DataUsePermissionFactory ¶
Bases: DjangoModelFactory
data use permission factory
Models¶
DataUsePermission ¶
Bases: Model
data use permission model
Test Case¶
DataUsePermissionTestCase ¶
Bases: TestCase
test data use permission model
setUpTestData
classmethod
¶
test_create_data_use_permission ¶
test creating use permission
Source code in django_project/regulatory_permit/test_regulatory_permit_models.py
test_delete_data_use_permission ¶
test deleting use permission
test_unqiue_data_use_permission_name ¶
test unique name of use permission
Source code in django_project/regulatory_permit/test_regulatory_permit_models.py
test_update_data_use_permission ¶
test updating use permission