test_module_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,
FFEFFE
======================================================================
ERROR: test_runModule (__main__.TestModuleAssertions)
Correct and incorrect Module used in runModule()
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/python/gunittest/testsuite/test_module_assertions.py", line 28, in test_runModule
self.runModule(self.rinfo)
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'g'). See the following errors:
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_gunittest_test_module_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_module_assertions/cellhd/elevation': No such file or directory
ERROR: Unable to open header file for raster map <elevation@>
======================================================================
ERROR: test_runModule (__main__.TestSimpleModuleAssertions)
Correct and incorrect SimpleModule used in runModule()
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/python/gunittest/testsuite/test_module_assertions.py", line 61, in test_runModule
self.runModule(self.rinfo)
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'g'). See the following errors:
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_gunittest_test_module_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_module_assertions/cellhd/elevation': No such file or directory
ERROR: Unable to open header file for raster map <elevation@>
======================================================================
FAIL: test_assertModule (__main__.TestModuleAssertions)
Correct and incorrect Module used in assertModule()
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/python/gunittest/testsuite/test_module_assertions.py", line 34, in test_assertModule
self.assertModule(self.rinfo)
File "etc/python/grass/gunittest/case.py", line 1132, in assertModule
self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <r.info> module ended with non-zero return code (1)
Called: r.info(map='elevation', flags=u'g')
See the folowing errors:
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_gunittest_test_module_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_module_assertions/cellhd/elevation': No such file or directory
ERROR: Unable to open header file for raster map <elevation@>
======================================================================
FAIL: test_assertModuleFail (__main__.TestModuleAssertions)
Correct and incorrect Module used in assertModuleFail()
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/python/gunittest/testsuite/test_module_assertions.py", line 44, in test_assertModuleFail
self.assertRaises(self.failureException, self.assertModuleFail, self.rinfo)
AssertionError: AssertionError not raised
======================================================================
FAIL: test_assertModule (__main__.TestSimpleModuleAssertions)
Correct and incorrect SimpleModule used in assertModule()
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/python/gunittest/testsuite/test_module_assertions.py", line 67, in test_assertModule
self.assertModule(self.rinfo)
File "etc/python/grass/gunittest/case.py", line 1132, in assertModule
self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <r.info> module ended with non-zero return code (1)
Called: r.info(map='elevation', flags=u'g')
See the folowing errors:
WARNING: G__open(read): Unable to open '/grassdata/tests-grassdata/nc_spm_08_grass7/__lib_python_gunittest_test_module_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_module_assertions/cellhd/elevation': No such file or directory
ERROR: Unable to open header file for raster map <elevation@>
======================================================================
FAIL: test_assertModuleFail (__main__.TestSimpleModuleAssertions)
Correct and incorrect SimpleModule used in assertModuleFail()
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/python/gunittest/testsuite/test_module_assertions.py", line 77, in test_assertModuleFail
self.assertRaises(self.failureException, self.assertModuleFail, self.rinfo)
AssertionError: AssertionError not raised
----------------------------------------------------------------------
Ran 6 tests in 0.082s
FAILED (failures=4, errors=2)