test_assertions

./lib/python/gunittest – test_assertions

Test failed

Test filetest_assertions
Testsuite./lib/python/gunittest
StatusFAILED
Return code1
Number of tests7
Successful tests7
Failed tests2
Percent successful100%
Test duration0:00:01.135948

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,
E....E...
======================================================================
ERROR: setUpClass (__main__.TestAssertModuleKeyValue)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/gunittest/testsuite/test_assertions.py", line 84, in setUpClass
    cls.runModule(SimpleModule('g.region', rast='elevation'))
  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 602, in __call__
    raise ParameterError('%s is not a valid parameter.' % key)
ParameterError: rast is not a valid parameter.

======================================================================
ERROR: setUpClass (__main__.TestRasterMapAssertions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/gunittest/testsuite/test_assertions.py", line 126, in setUpClass
    cls.runModule(SimpleModule('g.region', rast='elevation'))
  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 602, in __call__
    raise ParameterError('%s is not a valid parameter.' % key)
ParameterError: rast is not a valid parameter.

----------------------------------------------------------------------
Ran 7 tests in 0.120s
FAILED (errors=2)