[GRASS-dev] [GRASS GIS] #3816: test_r_slope_aspect.py is not idempotent
GRASS GIS
trac at osgeo.org
Wed Apr 17 12:48:09 PDT 2019
#3816: test_r_slope_aspect.py is not idempotent
-------------------------+-------------------------
Reporter: pmav99 | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tests | Version: svn-trunk
Keywords: | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
{{{test_r_slope_aspect.py}}} is not idempotent, i.e. running the test
twice passes the first time but fails the second. The problem is that the
maps that are getting created are not removed on cleanUp and as a result,
subsequent runs are failing.
The tests can be fixed either by passing --overwrite or by cleaning up the
created maps. Unless there are specific reasons preventing us from doing
so, I would suggest cleaning up.
PS. My guess is that the tests on fatra are always being run on a fresh
copy of the test dataset, that's why this has not been noticed until now.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3816>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list