test_r_slope_aspect

./raster/r.slope.aspect – test_r_slope_aspect

Test failed

Testtest_r_slope_aspect
Testsuite./raster/r.slope.aspect
Test file./raster/r.slope.aspect/testsuite/test_r_slope_aspect.py
StatusFAILED
Return code1
Number of tests6
Successful tests5
Failed tests1
Percent successful83%
Test duration0:02:25.329897
Tested modulesr.slope.aspect

Supplementary files

Standard error output (stderr)

/usr/lib/python2.7/xml/etree/ElementTree.py:1627: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
..F...
======================================================================
FAIL: test_limits_precent (__main__.TestSlopeAspect)
Assumes NC elevation and allows slope up to 100% (45deg)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.slope.aspect/testsuite/test_r_slope_aspect.py", line 39, in test_limits_precent
    msg="Slope in percent must be between 0 and 100")
  File "etc/python/grass/gunittest/case.py", line 474, in assertRasterMinMax
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Slope in percent must be between 0 and 100 
The actual maximum (420.219) is greater than the reference one (100) for raster map limits_percent_slope (with minimum 0)

----------------------------------------------------------------------
Ran 6 tests in 143.793s
FAILED (failures=1)