test_accumulation

./temporal/t.rast.accumulate – test_accumulation

Test failed

Testtest_accumulation
Testsuite./temporal/t.rast.accumulate
Test file./temporal/t.rast.accumulate/testsuite/test_accumulation.py
StatusFAILED
Return code1
Number of tests10
Successful tests0
Failed tests20
Percent successful0%
Test duration0:00:21.462017

Supplementary files

Standard error output (stderr)

... (lines omitted)
  File "scripts/t.rast.accumulate", line 441, in main
    output=output_map_name, run_=False)
  File "etc/python/grass/pygrass/modules/interface/module.py", line 526, in __init__
    self.__call__(*args, **kargs)
  File "etc/python/grass/pygrass/modules/interface/module.py", line 564, in __call__
    self.inputs[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 64, in _check_value
    raiseexcpet(exc, param, param.type, value)
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 31, in raiseexcpet
    raise ValueError(msg)
ValueError: The Parameter <input>, require: raster, get: <type 'str'> instead: [u'a_1@__temporal_t_rast_accumulate_test_accumulation']
The Parameter <input> require a string, <type 'unicode'> instead is provided: u'a_1@__temporal_t_rast_accumulate_test_accumulation'


======================================================================
FAIL: test_time_suffix (__main__.TestAccumulate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.accumulate/testsuite/test_accumulation.py", line 235, in test_time_suffix
    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.accumulate> module ended with non-zero return code (1)
Called: t.rast_accumulate(input='A', output='B', start='2001-01-01', stop='2001-01-05', cycle='7 days', granularity='1 day', basename='b', suffix='time', limits=[0, 40], method='gdd', overwrite=True, verbose=True)
See the following errors:
Processing cycle 2001-01-01 00:00:00 - 2001-01-05 00:00:00
Traceback (most recent call last):
  File "scripts/t.rast.accumulate", line 530, in <module>
    main()
  File "scripts/t.rast.accumulate", line 441, in main
    output=output_map_name, run_=False)
  File "etc/python/grass/pygrass/modules/interface/module.py", line 526, in __init__
    self.__call__(*args, **kargs)
  File "etc/python/grass/pygrass/modules/interface/module.py", line 564, in __call__
    self.inputs[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 64, in _check_value
    raiseexcpet(exc, param, param.type, value)
  File "etc/python/grass/pygrass/modules/interface/parameter.py", line 31, in raiseexcpet
    raise ValueError(msg)
ValueError: The Parameter <input>, require: raster, get: <type 'str'> instead: [u'a_1@__temporal_t_rast_accumulate_test_accumulation']
The Parameter <input> require a string, <type 'unicode'> instead is provided: u'a_1@__temporal_t_rast_accumulate_test_accumulation'


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