❌ Test failed
Test | test_parameter |
Testsuite | ./lib/python/pygrass/modules/interface |
Test file | ./lib/python/pygrass/modules/interface/testsuite/test_parameter.py |
Status | FAILED |
Return code | 1 |
Number of tests | 17 |
Successful tests | 16 |
Failed tests | 1 |
Percent successful | 94% |
Test duration | 0:00:00.833373 |
etc/python/grass/pygrass/modules/interface/parameter.py:29: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
msg = req % (param.name, param.typedesc, ptype, value, exc.message)
...........E.....
======================================================================
ERROR: test_single_string_file (__main__.TestCheckValueFunction)
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/python/pygrass/modules/interface/testsuite/test_parameter.py", line 223, in test_single_string_file
self.assertTupleEqual((value, value), _check_value(param, 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 <name> require a string, <type 'unicode'> instead is provided: u'elev'
----------------------------------------------------------------------
Ran 17 tests in 0.003s
FAILED (errors=1)