geonode.documents.api.tests
Attributes
Classes
Module Contents
- class geonode.documents.api.tests.DocumentsApiTests[source]
Bases:
rest_framework.test.APITransactionTestCase- test_creation_return_error_if_file_is_not_passed()[source]
If file_path is not available, should raise error
- test_creation_return_error_if_file_is_none()[source]
If file_path is not available, should raise error
- test_creation_should_create_the_doc_and_update_the_bbox()[source]
If file_path is not available, should raise error
- test_file_path_and_doc_path_are_not_returned()[source]
If file_path and doc_path should not be visible from the GET payload
- test_creation_from_url_should_create_the_doc()[source]
If file_path is not available, should raise error