test_r_mapcalc

./raster/r.mapcalc – test_r_mapcalc

Test failed

Test filetest_r_mapcalc
Testsuite./raster/r.mapcalc
StatusFAILED
Return code1
Number of tests10
Successful tests6
Failed tests6
Percent successful60%
Test duration0:00:01.647730
Tested modulesr.mapcalc

Supplementary files

Standard error output (stderr)

... (lines omitted)
 --q   Quiet module output
 --ui  Force launching GUI dialog

Parameters:
     type   Data type(s)
            options: raster,raster_3d,vector,old_vector,ascii_vector,labels,
                     region,group,all
             raster: raster map(s)
             raster_3d: 3D raster map(s)
             vector: vector map(s)
             old_vector: old  (GRASS 5.0) vector map(s)
             ascii_vector: ASCII vector map(s)
             labels: paint label file(s)
             region: region definition(s)
             group: imagery group(s)
             all: all types
     name   Name of file(s) to remove
   ignore   Name of file(s) to ignore (default: none)
  pattern   File name search pattern
  exclude   File name exclusion pattern (default: none)

ERROR: Value <rast> ambiguous for parameter <type>
	Valid options: raster,raster_3d,vector,old_vector,ascii_vector,labels,region,group,all


======================================================================
ERROR: tearDownClass (__main__.TestRandFunction)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.mapcalc/testsuite/test_r_mapcalc.py", line 77, in tearDownClass
    name=','.join(cls.to_remove))
  File "etc/python/grass/gunittest/case.py", line 932, in runModule
    module = _module_from_parameters(module, **kwargs)
  File "etc/python/grass/gunittest/case.py", line 1060, in _module_from_parameters
    module = SimpleModule(module, **kwargs)
  File "etc/python/grass/gunittest/gmodules.py", line 54, in __init__
    Module.__init__(self, cmd, *args, **kargs)
  File "etc/python/grass/pygrass/modules/interface/module.py", line 556, in __init__
    self.__call__(*args, **kargs)
  File "etc/python/grass/pygrass/modules/interface/module.py", line 594, in __call__
    self.inputs[key].value = val
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 183, in _set_value
    self._value, self._rawvalue = _check_value(self, value)
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 91, in _check_value
    raise ValueError(must_val % (param.name, param.values))
ValueError: The Parameter <type>, must be one of the following values: ['raster', 'raster_3d', 'vector', 'old_vector', 'ascii_vector', 'labels', 'region', 'group', 'all']

----------------------------------------------------------------------
Ran 10 tests in 0.624s
FAILED (errors=6)