tests.test_magpie ================= .. py:module:: tests.test_magpie Classes ------- .. autoapisummary:: tests.test_magpie.TestMagpie Module Contents --------------- .. py:class:: TestMagpie(methodName='runTest') Bases: :py:obj:`tests.utils.TestConfig`, :py:obj:`unittest.TestCase` Tests different methods found in the Magpie handler. These tests require a running instance of Magpie. Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name. .. py:method:: setUpClass() :classmethod: Hook method for setting up class fixture before running tests in the class. .. py:method:: setup(tmpdir) .. py:method:: test_get_or_create_layer_resource_id() Tests the method used with geoserver to get a layer resource id. .. py:method:: test_create_permission_by_res_id() Tests the method used to create a permission on a specific resource id.