test_r_viewshed

./raster/r.viewshed – test_r_viewshed

Test failed

Testtest_r_viewshed
Testsuite./raster/r.viewshed
Test file./raster/r.viewshed/testsuite/test_r_viewshed.py
StatusFAILED
Return code1
Number of tests4
Successful tests1
Failed tests3
Percent successful25%
Test duration0:00:01.774764
Tested modulesr.viewshed

Supplementary files

Standard error output (stderr)

/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
FFF.
======================================================================
FAIL: test_limits (__main__.TestViewshed)
Test if results is in expected limits
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.viewshed/testsuite/test_r_viewshed.py", line 30, in test_limits
    observer_elevation=obs_elev)
  File "etc/python/grass/gunittest/case.py", line 1161, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <r.viewshed> module ended with non-zero return code (1)
Called: r.viewshed(input='elevation', output='test_viewshed_from_elevation', coordinates=[(634720, 216180)], observer_elevation=1.72, target_elevation=0.0, max_distance=-1.0, refraction_coeff=0.14286, memory=500)
See the following errors:
WARNING: Region extent: north=0, south=950016288, east=2, west=129
WARNING: Region extent: rows=10660, cols=8160
WARNING: Viewpoint: row=584, col=12868
ERROR: Viewpoint outside of computational region


======================================================================
FAIL: test_limits_extreme_value (__main__.TestViewshed)
Test extremely high observer elevation
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.viewshed/testsuite/test_r_viewshed.py", line 59, in test_limits_extreme_value
    observer_elevation=obs_elev)
  File "etc/python/grass/gunittest/case.py", line 1161, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <r.viewshed> module ended with non-zero return code (1)
Called: r.viewshed(input='elevation', output='test_viewshed_from_elevation', coordinates=[(634720, 216180)], observer_elevation=500000.0, target_elevation=0.0, max_distance=-1.0, refraction_coeff=0.14286, memory=500)
See the following errors:
WARNING: Region extent: north=0, south=1495931168, east=2, west=129
WARNING: Region extent: rows=10660, cols=8160
WARNING: Viewpoint: row=584, col=12868
ERROR: Viewpoint outside of computational region


======================================================================
FAIL: test_limits_flags (__main__.TestViewshed)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.viewshed/testsuite/test_r_viewshed.py", line 39, in test_limits_flags
    observer_elevation=obs_elev)
  File "etc/python/grass/gunittest/case.py", line 1161, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <r.viewshed> module ended with non-zero return code (1)
Called: r.viewshed(input='elevation', output='test_viewshed_from_elevation', coordinates=[(634720, 216180)], observer_elevation=1.72, target_elevation=0.0, max_distance=-1.0, refraction_coeff=0.14286, memory=500, flags=u'e')
See the following errors:
WARNING: Region extent: north=0, south=-2033522400, east=2, west=129
WARNING: Region extent: rows=10660, cols=8160
WARNING: Viewpoint: row=584, col=12868
ERROR: Viewpoint outside of computational region


----------------------------------------------------------------------
Ran 4 tests in 0.882s
FAILED (failures=3)