geonode.geoserver.tests.test_server =================================== .. py:module:: geonode.geoserver.tests.test_server Attributes ---------- .. autoapisummary:: geonode.geoserver.tests.test_server.logger geonode.geoserver.tests.test_server.san_andres_y_providencia_sld geonode.geoserver.tests.test_server.lac_sld geonode.geoserver.tests.test_server.freshgwabs2_sld geonode.geoserver.tests.test_server.raster_sld geonode.geoserver.tests.test_server.line_sld geonode.geoserver.tests.test_server.SLDS Classes ------- .. autoapisummary:: geonode.geoserver.tests.test_server.LayerTests Module Contents --------------- .. py:data:: logger .. py:data:: san_andres_y_providencia_sld :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ geonode:san_andres_y_providencia_administrative san_andres_y_providencia_administrative San Andres y Providencia Administrative 1 #880000 3 4.0 4.0 #ffbbbb 2 """ .. raw:: html
.. py:data:: lac_sld :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ LAC_NonIndigenous_Access_to_Sanitation2 LAC NonIndigenous Access to Sanitation Low (25 - 40%) Low (25 - 40%) NonInd 24.89999999999999858 NonInd 39.89999999999999858 #ff8b16 #000001 0.1 bevel Medium Low (40 - 65 %) Medium Low (40 - 65 %) NonInd 39.89999999999999858 NonInd 64.90000000000000568 #fffb0b #000001 0.1 bevel Medium (65 - 70 %) Medium (65 - 70 %) NonInd 64.90000000000000568 NonInd 69.90000000000000568 #55d718 #000001 0.1 bevel Medium High (70 - 85 %) Medium High (70 - 85 %) NonInd 69.90000000000000568 NonInd 84.90000000000000568 #3f7122 #000001 0.1 bevel High (85 - 93 %) High (85 - 93 %) NonInd 84.90000000000000568 NonInd 92.90000000000000568 #76ffff #000001 0.1 bevel Very High (93 - 96 %) Very High (93 - 96 %) NonInd 92.90000000000000568 NonInd 96.09999999999999432 #0a4291 #000001 0.1 bevel Country not surveyed Country not surveyed NonInd -999 NonInd 24.89999999999999858 #d9d9d9 #000001 0.1 bevel """ .. raw:: html
.. py:data:: freshgwabs2_sld :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ geonode:freshgwabs2 freshgwabs2 1 < 1112 million cubic metres < 1112 million cubic metres y2007 0 y2007 1112 #ffe9b1 #000001 0.1 1112 - 4794 million cubic metres 1112 - 4794 million cubic metres y2007 1112 y2007 4794 #eaad57 #000001 0.1 4794 - 12096 million cubic metres 4794 - 12096 million cubic metres y2007 4794 y2007 12096 #ff7f1d #000001 0.1 12096 - 28937 million cubic metres 12096 - 28937 million cubic metres y2007 12096 y2007 28937 #af8a33 #000001 0.1 > 28937 million cubic metres > 28937 million cubic metres y2007 28937 y2007 106910 #5b4b2d #000001 0.1 No data for 2007 No data for 2007 y2007 -99 y2007 0 #d9d9d9 #000001 """ .. raw:: html
.. py:data:: raster_sld :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ geonode-geonode_gwpollriskafriotest grid 1 """ .. raw:: html
.. py:data:: line_sld :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ line_3 line 3 Single symbol #db1e2a 2 round round 2 7 """ .. raw:: html
.. py:data:: SLDS .. py:class:: LayerTests Bases: :py:obj:`geonode.tests.base.GeoNodeBaseTestSupport` .. py:attribute:: type :value: 'dataset' .. py:attribute:: fixtures :value: ['initial_data.json', 'group_test_data.json', 'default_oauth_apps.json'] .. py:method:: setUpClass() :classmethod: .. py:method:: tearDownClass() :classmethod: .. py:method:: setUp() .. py:method:: test_style_manager() Ensures the dataset_style_manage route returns a 200. .. py:method:: test_style_validity_and_name() .. py:method:: test_style_change_on_basic_auth() Ensures we are able to update the style through a BASIC auth call only. .. py:method:: test_dataset_acls() Verify that the dataset_acls view is behaving as expected .. py:method:: test_resolve_user() Verify that the resolve_user view is behaving as expected .. py:method:: test_ogc_server_settings() Tests the OGC Servers Handler class. .. py:method:: test_ogc_server_defaults() Tests that OGC_SERVER_SETTINGS are built if they do not exist in the settings. .. py:method:: test_importer_configuration() .. py:method:: test_set_resources_links() .. py:method:: test_gs_proxy_never_caches()