testrt

./raster/r.tile – testrt

Test failed

Testtestrt
Testsuite./raster/r.tile
Test file./raster/r.tile/testsuite/testrt.py
StatusFAILED
Return code1
Number of tests4
Successful tests1
Failed tests3
Percent successful25%
Test duration0:01:37.496124
Tested modulesr.tile

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,
raster/r.tile/testsuite/testrt.py:30: DeprecationWarning: classic int division
  self.assertModule('r.tile', input=self.input, output=self.output, width=1500/2, height=1350/2)
.raster/r.tile/testsuite/testrt.py:51: DeprecationWarning: classic int division
  self.assertModule('r.tile', input=self.input, output=self.output, width=1500/2, height=1350/2)
etc/python/grass/gunittest/case.py:465: DeprecationWarning: comparing unequal types not supported in 3.x
  if refmin > actual['min']:
etc/python/grass/gunittest/case.py:471: DeprecationWarning: comparing unequal types not supported in 3.x
  if refmax < actual['max']:
Fraster/r.tile/testsuite/testrt.py:44: DeprecationWarning: classic int division
  self.assertModule('r.tile', input=self.input, output=self.output, width=1500/2, height=1350/2, overlap=250)
Fraster/r.tile/testsuite/testrt.py:37: DeprecationWarning: classic int division
  self.assertModule('r.tile', input=self.input, output=self.output, width=1500/2, height=1350/2)
F
======================================================================
FAIL: test_minmax (__main__.Testrr)
Testing output map tile-000-001
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.tile/testsuite/testrt.py", line 53, in test_minmax
    msg="tile-000-001 in degrees must be between 55.57879 and 144.2673")
  File "etc/python/grass/gunittest/case.py", line 476, in assertRasterMinMax
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: tile-000-001 in degrees must be between 55.57879 and 144.2673 
The actual maximum (NULL) is greater than the reference one (144.2673) for raster map tile-000-001 (with minimum NULL)

======================================================================
FAIL: test_overlap (__main__.Testrr)
Testing overlap parameter with output map tile-000-000
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.tile/testsuite/testrt.py", line 46, in test_overlap
    msg="tile-000-000 in degrees must be between 74.75374 and 156.3299")
  File "etc/python/grass/gunittest/case.py", line 476, in assertRasterMinMax
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: tile-000-000 in degrees must be between 74.75374 and 156.3299 
The actual maximum (NULL) is greater than the reference one (156.3299) for raster map tile-000-000 (with minimum NULL)

======================================================================
FAIL: test_univar (__main__.Testrr)
Testing the output map tile-001-002
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.tile/testsuite/testrt.py", line 39, in test_univar
    reference=string, precision=2)
  File "etc/python/grass/gunittest/case.py", line 278, in assertRasterFitsUnivar
    precision=precision)
  File "etc/python/grass/gunittest/case.py", line 254, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: r.univar map=tile-000-001 percentile=90.0 separator== -g difference:
mismatch values (key, reference, actual): [('n', 506250, 0)]
command: r.univar map=tile-000-001 percentile=90.0 separator== -g {'map': 'tile-000-001', 'separator': '=', 'flags': 'g'}

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