test_g_remove

./general/g.remove – test_g_remove

Test failed

Test filetest_g_remove
Testsuite./general/g.remove
StatusFAILED
Return code1
Number of tests3
Successful tests0
Failed tests3
Percent successful0%
Test duration0:00:01.258036

Supplementary files

Standard error output (stderr)

etc/python/grass/lib/gis.py:807: DeprecationWarning: classic int division
  ('__val', c_ulong * (1024 / (8 * sizeof(c_ulong)))),
/usr/lib/python2.7/xml/etree/ElementTree.py:1627: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
EEE
======================================================================
ERROR: test_remove_procedure (__main__.GMRemoveTest)
Test that maps are removed only with -f
----------------------------------------------------------------------
Traceback (most recent call last):
  File "general/g.remove/testsuite/test_g_remove.py", line 59, in test_remove_procedure
    type='rast', pattern='test_map_*,*two')
  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', '3draster', 'vector', 'oldvector', 'asciivector', 'labels', 'region', 'group', 'all']

======================================================================
ERROR: test_remove_procedure_exclude (__main__.GMRemoveTest)
Test that exclude does not list excluded maps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "general/g.remove/testsuite/test_g_remove.py", line 79, in test_remove_procedure_exclude
    exclude="*_small")
  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', '3draster', 'vector', 'oldvector', 'asciivector', 'labels', 'region', 'group', 'all']

======================================================================
ERROR: test_re_flags (__main__.GMRemoveWrongInputTest)
Test that -r and -e flags are exclusive
----------------------------------------------------------------------
Traceback (most recent call last):
  File "general/g.remove/testsuite/test_g_remove.py", line 101, in test_re_flags
    type='rast', pattern='xxxyyyzzz')
  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', '3draster', 'vector', 'oldvector', 'asciivector', 'labels', 'region', 'group', 'all']

----------------------------------------------------------------------
Ran 3 tests in 0.252s
FAILED (errors=3)