test_convert

./temporal/t.rast.contour – test_convert

Test failed

Testtest_convert
Testsuite./temporal/t.rast.contour
Test file./temporal/t.rast.contour/testsuite/test_convert.py
StatusFAILED
Return code1
Number of tests10
Successful tests2
Failed tests16
Percent successful20%
Test duration0:00:17.324757
Tested modulest.rast.contour

Supplementary files

Standard error output (stderr)

... (lines omitted)
AssertionError: Running <t.rast.contour> module ended with non-zero return code (1)
Called: t.rast_contour(input='A', output='result', where="start_time > '2001-02-01'", basename='test', suffix='gran', levels=[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0], cut=0, nprocs=1, overwrite=True, verbose=True)
See the following errors:
Traceback (most recent call last):
  File "scripts/t.rast.contour", line 284, in <module>
    main(options, flags)
  File "scripts/t.rast.contour", line 219, in main
    mod(input=map.get_id(), output=new_map.get_id())
  File "etc/python/grass/pygrass/modules/interface/module.py", line 566, in __call__
    self.outputs[key].value = val
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 189, in _set_value
    self._value, self._rawvalue = _check_value(self, value)
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 77, in _check_value
    check_string(value)
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 47, in check_string
    raise ValueError(msg % (param.name, type(value), value))
ValueError: The Parameter <output> require a string, <type 'unicode'> instead is provided: u'test_2001_04@__temporal_t_rast_contour_test_convert'


======================================================================
FAIL: test_where_step (__main__.TestRasterContour)
Use where statement and do not register empty maps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.contour/testsuite/test_convert.py", line 161, in test_where_step
    nprocs=1, overwrite=True, verbose=True)
  File "etc/python/grass/gunittest/case.py", line 1161, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.contour> module ended with non-zero return code (1)
Called: t.rast_contour(input='A', output='result', where="start_time > '2001-02-01'", basename='test', suffix='gran', step=1.0, minlevel=1.0, maxlevel=8.0, cut=0, nprocs=1, overwrite=True, verbose=True)
See the following errors:
Traceback (most recent call last):
  File "scripts/t.rast.contour", line 284, in <module>
    main(options, flags)
  File "scripts/t.rast.contour", line 219, in main
    mod(input=map.get_id(), output=new_map.get_id())
  File "etc/python/grass/pygrass/modules/interface/module.py", line 566, in __call__
    self.outputs[key].value = val
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 189, in _set_value
    self._value, self._rawvalue = _check_value(self, value)
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 77, in _check_value
    check_string(value)
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 47, in check_string
    raise ValueError(msg % (param.name, type(value), value))
ValueError: The Parameter <output> require a string, <type 'unicode'> instead is provided: u'test_2001_04@__temporal_t_rast_contour_test_convert'


----------------------------------------------------------------------
Ran 10 tests in 16.440s
FAILED (failures=8, errors=8)