❌ Test failed
Test | test_r_horizon |
Testsuite | ./raster/r.horizon |
Test file | ./raster/r.horizon/testsuite/test_r_horizon.py |
Status | FAILED |
Return code | 1 |
Number of tests | 5 |
Successful tests | 2 |
Failed tests | 3 |
Percent successful | 40% |
Test duration | 0:01:20.251800 |
Tested modules | r.horizon |
/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated. Define doctype() method on the TreeBuilder target. DeprecationWarning, ..FFE ====================================================================== ERROR: test_raster_mode_one_direction (__main__.TestHorizon) Test mode with 1 point and one direction ---------------------------------------------------------------------- Traceback (most recent call last): File "raster/r.horizon/testsuite/test_r_horizon.py", line 110, in test_raster_mode_one_direction self.assertRasterFitsUnivar(raster='test_horizon_output_from_elevation_050', reference=ref, precision=1e6) File "etc/python/grass/gunittest/case.py", line 278, in assertRasterFitsUnivar precision=precision) File "etc/python/grass/gunittest/case.py", line 227, in assertModuleKeyValue self.runModule(module, expecting_stdout=True) File "etc/python/grass/gunittest/case.py", line 1098, in runModule errors=errors) CalledModuleError: Module run 1 r.univar ended with error Process ended with non-zero return code r.univar(map=['test_horizon_output_from_elevation_050'], percentile=[90.0], separator='=', flags=u'g'). See the following errors: ERROR: Raster map <test_horizon_output_from_elevation_050> not found See available raster maps: aspect basin basin_50K boundary boundary_county_500m cfactorbare_1m cfactorgrow_1m el_D782_6m el_D783_6m el_D792_6m el_D793_6m elev_lid792_1m elev_ned_30m elev_srtm_30m elev_state_500m elevation elevation_shade facility geology geology_30m lakes landclass96 landcover landcover_1m landuse landuse96_28m lsat7_2002_10 lsat7_2002_20 lsat7_2002_30 lsat7_2002_40 lsat7_2002_50 lsat7_2002_61 lsat7_2002_62 lsat7_2002_70 lsat7_2002_80 ncmask_500m ortho_2001_t792_1m roadsmajor slope soils soilsID soils_Kfactor streams_derived test_horizon_output_from_elevation_%03 towns urban zipcodes zipcodes_dbl ====================================================================== FAIL: test_raster_mode_multiple_direction (__main__.TestHorizon) ---------------------------------------------------------------------- Traceback (most recent call last): File "raster/r.horizon/testsuite/test_r_horizon.py", line 119, in test_raster_mode_multiple_direction self.assertMultiLineEqual(first="test_horizon_output_from_elevation_010_000\ntest_horizon_output_from_elevation_025_512", second=stdout) File "etc/python/grass/gunittest/case.py", line 177, in assertMultiLineEqual first=first, second=second, msg=msg) AssertionError: 'test_horizon_output_from_elevation_010_000\ntest_horizon_output_from_elevation_ [truncated]... != u'test_horizon_output_from_elevation_%03_%03' - test_horizon_output_from_elevation_010_000 - test_horizon_output_from_elevation_025_512? ^^ ^^^ + test_horizon_output_from_elevation_%03_%03? + ^ ^^^ ====================================================================== FAIL: test_raster_mode_multiple_direction_offset (__main__.TestHorizon) ---------------------------------------------------------------------- Traceback (most recent call last): File "raster/r.horizon/testsuite/test_r_horizon.py", line 128, in test_raster_mode_multiple_direction_offset self.assertMultiLineEqual(first="test_horizon_output_from_elevation_090_000\ntest_horizon_output_from_elevation_105_512", second=stdout) File "etc/python/grass/gunittest/case.py", line 177, in assertMultiLineEqual first=first, second=second, msg=msg) AssertionError: 'test_horizon_output_from_elevation_090_000\ntest_horizon_output_from_elevation_ [truncated]... != u'test_horizon_output_from_elevation_%03_%03' - test_horizon_output_from_elevation_090_000 - test_horizon_output_from_elevation_105_512? ^ ^ ^^^ + test_horizon_output_from_elevation_%03_%03? ^ ^ ^^^ ---------------------------------------------------------------------- Ran 5 tests in 79.556s FAILED (failures=2, errors=1)