geonode.api.tests
Attributes
Classes
Test the search |
|
Module Contents
- class geonode.api.tests.PermissionsApiTests[source]
Bases:
tastypie.test.ResourceTestCaseMixin,geonode.tests.base.GeoNodeBaseTestSupport- test_dataset_get_list_unauth_all_public()[source]
Test that the correct number of layers are returned when the client is not logged in and all are public
- test_datasets_get_list_unauth_some_public()[source]
Test that if a layer is not public then not all are returned when the client is not logged in
- test_datasets_get_list_auth_some_public()[source]
Test that if a layer is not public then all are returned if the client is not logged in
- test_dataset_get_list_dataset_private_to_one_user()[source]
Test that if a layer is only visible by admin, then does not appear in the unauthenticated list nor in the list when logged is as bobby
- test_dataset_get_detail_unauth_dataset_not_public()[source]
Test that layer detail gives 404 when not public and not logged in
- class geonode.api.tests.SearchApiTests[source]
Bases:
tastypie.test.ResourceTestCaseMixin,geonode.tests.base.GeoNodeBaseTestSupportTest the search