ewatercycle.testing =================== .. py:module:: ewatercycle.testing .. autoapi-nested-parse:: Utilities for testing eWaterCycle functionality. Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/ewatercycle/testing/fake_models/index /autoapi/ewatercycle/testing/helpers/index Package Contents ---------------- .. py:function:: rhine_shape() -> pathlib.Path Return the path to the Rhine shapefile. The shapefile covers the Rhine basin and is bundled with ewatercycle for use in tests, examples and documentation notebooks. :returns: Path to ``Rhine.shp``. The accompanying ``.dbf``, ``.prj`` and ``.shx`` files sit alongside it, so the parent directory must be kept intact. .. rubric:: Example >>> from ewatercycle.testing import rhine_shape >>> shape = rhine_shape() >>> shape.name 'Rhine.shp'