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 tests20
Successful tests20
Failed tests2
Percent successful100%
Test duration0:00:01.880673

Supplementary files

Standard error output (stderr)

/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 123, in setUpClass
    cls.runModule(SimpleModule('g.region', raster='elevation'))
  File "etc/python/grass/gunittest/case.py", line 1094, in runModule
    errors=errors)
CalledModuleError: Module run 1 g.region ended with error
Process ended with non-zero return code g.region(raster=['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 165, in setUpClass
    cls.runModule(SimpleModule('g.region', raster='elevation'))
  File "etc/python/grass/gunittest/case.py", line 1094, in runModule
    errors=errors)
CalledModuleError: Module run 1 g.region ended with error
Process ended with non-zero return code g.region(raster=['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 20 tests in 0.658s
FAILED (errors=2)