test_assertions 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,
EEEE............E...EE........
======================================================================
ERROR: test_direct_parameters (__main__.TestAssertModuleKeyValue)
Test syntax with module and its parameters as function parameters
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/python/gunittest/testsuite/test_assertions.py", line 148, in test_direct_parameters
precision=0.01, sep='=')
File "etc/python/grass/gunittest/case.py", line 218, in assertModuleKeyValue
self.runModule(module, expecting_stdout=True)
File "etc/python/grass/gunittest/case.py", line 1069, in runModule
errors=errors)
CalledModuleError: Module run 1 r.info ended with error
Process ended with non-zero return code r.info(map='elevation', flags=u'gr'). See the following errors:
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_gunittest_test_assertions/cellhd/elevation': No such file or directory
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_gunittest_test_assertions/cellhd/elevation': No such file or directory
ERROR: Unable to open header file for raster map <elevation@>
======================================================================
ERROR: test_parameters_parameter (__main__.TestAssertModuleKeyValue)
Test syntax with module parameters in one parameters dictionary
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/python/gunittest/testsuite/test_assertions.py", line 155, in test_parameters_parameter
precision=0.01, sep='=')
File "etc/python/grass/gunittest/case.py", line 218, in assertModuleKeyValue
self.runModule(module, expecting_stdout=True)
File "etc/python/grass/gunittest/case.py", line 1069, in runModule
errors=errors)
CalledModuleError: Module run 1 r.info ended with error
Process ended with non-zero return code r.info(map='elevation', flags=u'gr'). See the following errors:
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_gunittest_test_assertions/cellhd/elevation': No such file or directory
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_gunittest_test_assertions/cellhd/elevation': No such file or directory
ERROR: Unable to open header file for raster map <elevation@>
======================================================================
ERROR: test_pygrass_module (__main__.TestAssertModuleKeyValue)
Test syntax with Module and required parameters as module
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/python/gunittest/testsuite/test_assertions.py", line 135, in test_pygrass_module
precision=0.01, sep='=')
File "etc/python/grass/gunittest/case.py", line 218, in assertModuleKeyValue
self.runModule(module, expecting_stdout=True)
File "etc/python/grass/gunittest/case.py", line 1069, in runModule
errors=errors)
CalledModuleError: Module run 1 r.info ended with error
Process ended with non-zero return code r.info(map='elevation', flags=u'gr'). See the following errors:
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_gunittest_test_assertions/cellhd/elevation': No such file or directory
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_gunittest_test_assertions/cellhd/elevation': No such file or directory
ERROR: Unable to open header file for raster map <elevation@>
======================================================================
ERROR: test_pygrass_simple_module (__main__.TestAssertModuleKeyValue)
Test syntax with SimpleModule as module
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/python/gunittest/testsuite/test_assertions.py", line 142, in test_pygrass_simple_module
precision=0.01, sep='=')
File "etc/python/grass/gunittest/case.py", line 218, in assertModuleKeyValue
self.runModule(module, expecting_stdout=True)
File "etc/python/grass/gunittest/case.py", line 1069, in runModule
errors=errors)
CalledModuleError: Module run 1 r.info ended with error
Process ended with non-zero return code r.info(map='elevation', flags=u'gr'). See the following errors:
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_gunittest_test_assertions/cellhd/elevation': No such file or directory
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_gunittest_test_assertions/cellhd/elevation': No such file or directory
ERROR: Unable to open header file for raster map <elevation@>
======================================================================
ERROR: test_assertRasterFitsInfo (__main__.TestRasterMapAssertions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/python/gunittest/testsuite/test_assertions.py", line 182, in test_assertRasterFitsInfo
self.assertRasterFitsInfo('elevation', R_INFO_ELEVATION_SUBSET)
File "etc/python/grass/gunittest/case.py", line 290, in assertRasterFitsInfo
precision=precision)
File "etc/python/grass/gunittest/case.py", line 218, in assertModuleKeyValue
self.runModule(module, expecting_stdout=True)
File "etc/python/grass/gunittest/case.py", line 1069, in runModule
errors=errors)
CalledModuleError: Module run 1 r.info ended with error
Process ended with non-zero return code r.info(map='elevation', flags=u'gre'). See the following errors:
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_gunittest_test_assertions/cellhd/elevation': No such file or directory
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_gunittest_test_assertions/cellhd/elevation': No such file or directory
ERROR: Unable to open header file for raster map <elevation@>
======================================================================
ERROR: test_common_values_info_univar (__main__.TestRasterMapAssertions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/python/gunittest/testsuite/test_assertions.py", line 194, in test_common_values_info_univar
ELEVATION_MINMAX, precision=0.01)
File "etc/python/grass/gunittest/case.py", line 290, in assertRasterFitsInfo
precision=precision)
File "etc/python/grass/gunittest/case.py", line 218, in assertModuleKeyValue
self.runModule(module, expecting_stdout=True)
File "etc/python/grass/gunittest/case.py", line 1069, in runModule
errors=errors)
CalledModuleError: Module run 1 r.info ended with error
Process ended with non-zero return code r.info(map='elevation', flags=u'gre'). See the following errors:
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_gunittest_test_assertions/cellhd/elevation': No such file or directory
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_gunittest_test_assertions/cellhd/elevation': No such file or directory
ERROR: Unable to open header file for raster map <elevation@>
======================================================================
ERROR: test_dict_as_parameter (__main__.TestRasterMapAssertions)
This also tests if we are using r.info -e flag and that precision is
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/python/gunittest/testsuite/test_assertions.py", line 200, in test_dict_as_parameter
self.assertRasterFitsInfo('elevation', ELEVATION_MAPSET_DICT)
File "etc/python/grass/gunittest/case.py", line 290, in assertRasterFitsInfo
precision=precision)
File "etc/python/grass/gunittest/case.py", line 218, in assertModuleKeyValue
self.runModule(module, expecting_stdout=True)
File "etc/python/grass/gunittest/case.py", line 1069, in runModule
errors=errors)
CalledModuleError: Module run 1 r.info ended with error
Process ended with non-zero return code r.info(map='elevation', flags=u'gre'). See the following errors:
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_gunittest_test_assertions/cellhd/elevation': No such file or directory
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_gunittest_test_assertions/cellhd/elevation': No such file or directory
ERROR: Unable to open header file for raster map <elevation@>
----------------------------------------------------------------------
Ran 30 tests in 5.029s
FAILED (errors=7)