geonode.maps.api.tests

Attributes

logger

DUMMY_MAPDATA

DUMMY_MAPLAYERS_DATA

DUMMY_MAPLAYERS_DATA_WITH_EXTRA_INFO

Classes

MapsApiTests

Module Contents

geonode.maps.api.tests.logger[source]
class geonode.maps.api.tests.MapsApiTests[source]

Bases: rest_framework.test.APITestCase

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

Ensure we can access the Maps list.

test_extra_metadata_included_with_param()[source]
test_patch_map()[source]

Patch to maps/<pk>/

test_patch_map_with_extra_maplayer_info()[source]

Patch to maps/<pk>/

test_patch_map_raise_exception(mocked_obj)[source]

Patch to maps/<pk>/

test_create_map()[source]

Post to maps/

test_create_map_with_extra_maplayer_info()[source]

Post to maps/

geonode.maps.api.tests.DUMMY_MAPDATA[source]
geonode.maps.api.tests.DUMMY_MAPLAYERS_DATA[source]
geonode.maps.api.tests.DUMMY_MAPLAYERS_DATA_WITH_EXTRA_INFO[source]