test_assertions

./lib/python/gunittest – test_assertions

Test failed

Testtest_assertions
Testsuite./lib/python/gunittest
Test file./lib/python/gunittest/testsuite/test_assertions.py
StatusFAILED
Return code1
Number of tests7
Successful tests7
Failed tests2
Percent successful100%
Test duration0:00:01.287833

Supplementary files

Standard error output (stderr)

etc/python/grass/lib/gis.py:797: 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', raster='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 507, in __init__
    self.__setattr__(e.tag, GETFROMTAG[e.tag](e))
KeyError: 'rules'

======================================================================
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', raster='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 507, in __init__
    self.__setattr__(e.tag, GETFROMTAG[e.tag](e))
KeyError: 'rules'

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