❌ Test failed
Test | test_rsun |
Testsuite | ./raster/r.sun |
Test file | ./raster/r.sun/testsuite/test_rsun.py |
Status | FAILED |
Return code | 1 |
Number of tests | 4 |
Successful tests | 2 |
Failed tests | 2 |
Percent successful | 50% |
Test duration | 0:00:02.999459 |
Tested modules | r.sun |
/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated. Define doctype() method on the TreeBuilder target. DeprecationWarning, .E.E ====================================================================== ERROR: test_run_outputs (__main__.TestRSunMode1) ---------------------------------------------------------------------- Traceback (most recent call last): File "raster/r.sun/testsuite/test_rsun.py", line 108, in test_run_outputs self.assertRasterFitsUnivar(raster=self.beam_rad, reference=values, precision=1e-8) File "etc/python/grass/gunittest/case.py", line 277, in assertRasterFitsUnivar precision=precision) File "etc/python/grass/gunittest/case.py", line 226, in assertModuleKeyValue self.runModule(module, expecting_stdout=True) File "etc/python/grass/gunittest/case.py", line 1111, in runModule " output and got " + got + errors) RuntimeError: Module call r.univar(map=['beam_rad'], percentile=[90.0], separator='=', flags=u'g') ended successfully but we were expecting output and got nothing. There were no error messages. ====================================================================== ERROR: test_run_outputs (__main__.TestRSunMode2) ---------------------------------------------------------------------- Traceback (most recent call last): File "raster/r.sun/testsuite/test_rsun.py", line 53, in test_run_outputs self.assertRasterFitsUnivar(raster=self.beam_rad, reference=values, precision=1e-8) File "etc/python/grass/gunittest/case.py", line 277, in assertRasterFitsUnivar precision=precision) File "etc/python/grass/gunittest/case.py", line 226, in assertModuleKeyValue self.runModule(module, expecting_stdout=True) File "etc/python/grass/gunittest/case.py", line 1111, in runModule " output and got " + got + errors) RuntimeError: Module call r.univar(map=['beam_rad'], percentile=[90.0], separator='=', flags=u'g') ended successfully but we were expecting output and got nothing. There were no error messages. ---------------------------------------------------------------------- Ran 4 tests in 1.513s FAILED (errors=2)