Admin¶
Admin page for Occurrence models.
SurveyMethodAdmin ¶
Bases: ModelAdmin
Admin page for SurveyMethod model
Factories¶
Models¶
Test Case¶
SamplingSizeUnitTestCase ¶
Bases: TestCase
Sampling size unit testcase.
setUpTestData
classmethod
¶
test_create_sampling_size_unit ¶
Test create sampling size unit.
Source code in django_project/occurrence/test_occurrence_models.py
test_delete_sampling_size_unit ¶
test_sampling_size_unit_unique_unit_constraint ¶
Testing unique values for the unit.
Source code in django_project/occurrence/test_occurrence_models.py
test_update_sampling_size_unit ¶
Test update sampling size unit.
Source code in django_project/occurrence/test_occurrence_models.py
SurveyMethodTestCase ¶
Bases: TestCase
Survey method test case.
setUpTestData
classmethod
¶
test_create_survey_method ¶
Test create survey method.
Source code in django_project/occurrence/test_occurrence_models.py
test_delete_survey_method ¶
test_survey_method_unique_name_constraint ¶
Test survey method unique name constraint.
Source code in django_project/occurrence/test_occurrence_models.py
test_survey_method_unique_sort_id_constraint ¶
Test survey method unique sort id constraint.
Source code in django_project/occurrence/test_occurrence_models.py
test_update_survey_method ¶
Test update survey method.