[GRASS-dev] About fixing exisiting test

Vaclav Petras wenzeslaus at gmail.com
Sun Apr 17 06:40:19 PDT 2022


If the test run okay and doesn't fail, go ahead and create a PR to enable
it.

Don't try to convert any tests to pytest. That's a topic for the summer.
You should write a new possibly simple test using pytest.

On Sun, Apr 17, 2022, 7:30 AM Adithya Ambapurkar <adinayyu at gmail.com> wrote:

> I have selected test_module_assertions.py and used %%python as mentioned
> earlier in jupyterlab notebook along with grass gis code. It ran all tests
> successfully but in output it says raster map not found. How to get the
> raster map and should i convert this code from gunitttest to pytest. How to
> convert it to pytest code as both are different and is there any
> documentation which compares gunittest and pytest. Pytest docs and
> gunittest docs are separate. Example for assertModule and assertModuleFail
> what is its equivalent in pytest. What should I do next?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20220417/9f93f803/attachment.html>


More information about the grass-dev mailing list