test_neighbors

./temporal/t.rast.neighbors – test_neighbors

Test failed

Testtest_neighbors
Testsuite./temporal/t.rast.neighbors
Test file./temporal/t.rast.neighbors/testsuite/test_neighbors.py
StatusFAILED
Return code1
Number of tests4
Successful tests0
Failed tests8
Percent successful0%
Test duration0:00:08.881644

Supplementary files

Standard error output (stderr)

... (lines omitted)
AssertionError: Running <t.rast.neighbors> module ended with non-zero return code (1)
Called: t.rast_neighbors(input='A', output='B', size=5, method='average', basename='b', suffix='time', nprocs=1, overwrite=True, quiet=True)
See the following errors:
Traceback (most recent call last):
  File "scripts/t.rast.neighbors", line 218, in <module>
    main()
  File "scripts/t.rast.neighbors", line 160, 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'b_2001_01_01T00_00_00@__temporal_t_rast_neighbors_test_neighbors'


======================================================================
FAIL: test_where (__main__.TestAggregationAbsolute)
Test simple t.rast.neighbors
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.neighbors/testsuite/test_neighbors.py", line 54, in test_where
    self.assertModule(trast_list)
  File "etc/python/grass/gunittest/case.py", line 1161, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <t.rast.neighbors> module ended with non-zero return code (1)
Called: t.rast_neighbors(input='A', output='B', where="start_time <= '2001-02-01 00:00:00'", size=5, method='average', basename='b', suffix='gran', nprocs=1, overwrite=True, quiet=True)
See the following errors:
Traceback (most recent call last):
  File "scripts/t.rast.neighbors", line 218, in <module>
    main()
  File "scripts/t.rast.neighbors", line 160, 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'b_2001_01@__temporal_t_rast_neighbors_test_neighbors'


----------------------------------------------------------------------
Ran 4 tests in 7.827s
FAILED (failures=4, errors=4)