geonode.layers.api.tests

Attributes

logger

Classes

DatasetsApiTests

Module Contents

geonode.layers.api.tests.logger[source]
class geonode.layers.api.tests.DatasetsApiTests[source]

Bases: rest_framework.test.APITestCase

fixtures = ['initial_data.json', 'group_test_data.json', 'default_oauth_apps.json'][source]
setUp()[source]
test_datasets()[source]

Ensure we can access the Layers list.

test_extra_metadata_included_with_param()[source]
test_raw_HTML_stripped_properties()[source]

Ensure “raw_*” properties returns no HTML or carriage-return tag

test_layer_replace_anonymous_should_raise_error()[source]
test_layer_replace_should_redirect_for_not_accepted_method()[source]
test_layer_replace_should_raise_error_if_layer_does_not_exists()[source]
test_dataset_append_anonymous_should_raise_error()[source]
test_dataset_append_should_redirect_for_not_accepted_method()[source]
test_dataset_append_should_raise_error_if_layer_does_not_exists()[source]
test_layer_replace_should_work(_validate_input_source)[source]
test_patch_point_of_contact()[source]
test_patch_metadata_author()[source]
test_patch_processor()[source]
test_patch_publisher()[source]
test_patch_custodian()[source]
test_patch_distributor()[source]
test_patch_resource_user()[source]
test_patch_resource_provider()[source]
test_patch_originator()[source]
test_patch_principal_investigator()[source]
test_metadata_update_for_not_supported_method()[source]
test_metadata_update_for_not_authorized_user()[source]
test_unsupported_file_throws_error()[source]
test_valid_metadata_file_with_different_uuid()[source]
test_permissions_for_not_permitted_user()[source]
test_permissions_for_permitted_user()[source]
test_valid_metadata_file()[source]
test_download_api()[source]