test_what

./temporal/t.rast.what – test_what

Test failed

Testtest_what
Testsuite./temporal/t.rast.what
Test file./temporal/t.rast.what/testsuite/test_what.py
StatusFAILED
Return code1
Number of tests12
Successful tests2
Failed tests10
Percent successful17%
Test duration0:00:12.186964

Supplementary files

Standard error output (stderr)

... (lines omitted)
  File "scripts/t.rast.what", line 257, in main
    output_time_list, r_what, process_queue)
  File "scripts/t.rast.what", line 516, in process_loop
    mod(map=map_names, output=final_file_name)
  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 <map>, require: raster, get: <type 'str'> instead: [u'a_1@__temporal_t_rast_what_test_what', u'a_2@__temporal_t_rast_what_test_what', u'a_3@__temporal_t_rast_what_test_what', u'a_4@__temporal_t_rast_what_test_what']
The Parameter <map> require a string, <type 'unicode'> instead is provided: u'a_1@__temporal_t_rast_what_test_what'


======================================================================
FAIL: test_timerow_output_coords (__main__.TestRasterWhat)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.what/testsuite/test_what.py", line 99, in test_timerow_output_coords
    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.what> module ended with non-zero return code (1)
Called: t.rast_what(coordinates=[(30, 30, 45, 45)], strds='A', output='out_timerow_coords.txt', separator='pipe', order=['start_time'], layout='timerow', nprocs=1, flags=u'n', overwrite=True, verbose=True)
See the following errors:
Process maps 1 to 4 (of 4)
Traceback (most recent call last):
  File "scripts/t.rast.what", line 526, in <module>
    main(options, flags)
  File "scripts/t.rast.what", line 257, in main
    output_time_list, r_what, process_queue)
  File "scripts/t.rast.what", line 516, in process_loop
    mod(map=map_names, output=final_file_name)
  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 <map>, require: raster, get: <type 'str'> instead: [u'a_1@__temporal_t_rast_what_test_what', u'a_2@__temporal_t_rast_what_test_what', u'a_3@__temporal_t_rast_what_test_what', u'a_4@__temporal_t_rast_what_test_what']
The Parameter <map> require a string, <type 'unicode'> instead is provided: u'a_1@__temporal_t_rast_what_test_what'


----------------------------------------------------------------------
Ran 12 tests in 11.337s
FAILED (failures=10)