test_g_list

./general/g.list – test_g_list

Test failed

Test filetest_g_list
Testsuite./general/g.list
StatusFAILED
Return code1
Number of tests4
Successful tests0
Failed tests4
Percent successful0%
Test duration0:00:01.240352

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,
EEEE
======================================================================
ERROR: test_ft_flags (__main__.GMlistWrongParamertersTest)
Test that -f and -t flags are exclusive
----------------------------------------------------------------------
Traceback (most recent call last):
  File "general/g.list/testsuite/test_g_list.py", line 31, in test_ft_flags
    module = SimpleModule('g.list', flags='ft', type='rast')
  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_pf_flags (__main__.GMlistWrongParamertersTest)
Test that -p and -f flags are exclusive
----------------------------------------------------------------------
Traceback (most recent call last):
  File "general/g.list/testsuite/test_g_list.py", line 39, in test_pf_flags
    module = SimpleModule('g.list', flags='pf', type='rast')
  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_pt_flags (__main__.GMlistWrongParamertersTest)
Test that -p and -t flags are exclusive
----------------------------------------------------------------------
Traceback (most recent call last):
  File "general/g.list/testsuite/test_g_list.py", line 23, in test_pt_flags
    module = SimpleModule('g.list', flags='pt', type='rast')
  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__.GMlistWrongParamertersTest)
Test that -r and -e flags are exclusive
----------------------------------------------------------------------
Traceback (most recent call last):
  File "general/g.list/testsuite/test_g_list.py", line 47, in test_re_flags
    module = SimpleModule('g.list', flags='re', type='rast')
  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 4 tests in 0.234s
FAILED (errors=4)