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.343210

Supplementary files

Standard error output (stderr)

etc/python/grass/lib/gis.py:803: DeprecationWarning: classic int division
  ('__val', c_ulong * (1024 / (8 * sizeof(c_ulong)))),
/usr/lib/python2.7/dist-packages/numpy/core/__init__.py:6: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from . import multiarray
/usr/lib/python2.7/dist-packages/numpy/core/__init__.py:7: DeprecationWarning: CObject type is not supported in 3.x. Please use capsule objects instead.
  from . import umath
/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/case.py", line 956, in runModule
    errors=errors)
CalledModuleError: Module run 1 g.region ended with error
Process ended with non-zero return code g.region(rast=['elevation']). See the following errors:
ERROR: Raster map <elevation> not found

See available raster maps:
gmted2010
gmted2010.shade
landsat.blue
landsat.green
landsat.red
lst_2010_01_average_piemonte
lst_2010_02_average_piemonte
lst_2010_03_average_piemonte
lst_2010_04_average_piemonte
lst_2010_05_average_piemonte
lst_2010_06_average_piemonte
lst_2010_07_average_piemonte
lst_2010_08_average_piemonte
lst_2010_09_average_piemonte
lst_2010_10_average_piemonte
lst_2010_11_average_piemonte
lst_2010_12_average_piemonte
orbassano_orto.blue
orbassano_orto.green
orbassano_orto.red
orbassano_orto.rgb
srtm
srtm_grezzo
uso_suolo2007


======================================================================
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/case.py", line 956, in runModule
    errors=errors)
CalledModuleError: Module run 1 g.region ended with error
Process ended with non-zero return code g.region(rast=['elevation']). See the following errors:
ERROR: Raster map <elevation> not found

See available raster maps:
gmted2010
gmted2010.shade
landsat.blue
landsat.green
landsat.red
lst_2010_01_average_piemonte
lst_2010_02_average_piemonte
lst_2010_03_average_piemonte
lst_2010_04_average_piemonte
lst_2010_05_average_piemonte
lst_2010_06_average_piemonte
lst_2010_07_average_piemonte
lst_2010_08_average_piemonte
lst_2010_09_average_piemonte
lst_2010_10_average_piemonte
lst_2010_11_average_piemonte
lst_2010_12_average_piemonte
orbassano_orto.blue
orbassano_orto.green
orbassano_orto.red
orbassano_orto.rgb
srtm
srtm_grezzo
uso_suolo2007


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