❌ Test failed
Test | test_convert |
Testsuite | ./temporal/t.rast.contour |
Test file | ./temporal/t.rast.contour/testsuite/test_convert.py |
Status | FAILED |
Return code | 1 |
Number of tests | 10 |
Successful tests | 9 |
Failed tests | 2 |
Percent successful | 90% |
Test duration | 0:00:17.173903 |
Tested modules | t.rast.contour |
/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated. Define doctype() method on the TreeBuilder target. DeprecationWarning, ....FE..... ====================================================================== ERROR: test_suffix_num (__main__.TestRasterContour) Test the -s flag ---------------------------------------------------------------------- Traceback (most recent call last): File "temporal/t.rast.contour/testsuite/test_convert.py", line 48, in tearDown inputs="result") File "etc/python/grass/gunittest/case.py", line 1095, in runModule errors=errors) CalledModuleError: Module run 1 t.remove ended with error Process ended with non-zero return code t.remove(inputs=['result'], type='stvds', flags=u'rf'). See the following errors: ERROR: Space time vector dataset <result> not found ====================================================================== FAIL: test_suffix_num (__main__.TestRasterContour) Test the -s flag ---------------------------------------------------------------------- Traceback (most recent call last): File "temporal/t.rast.contour/testsuite/test_convert.py", line 184, in test_suffix_num 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='time', suffix='num%03', 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 290, in <module> main(options, flags) File "scripts/t.rast.contour", line 218, in main map_name = tgis.create_numeric_suffic(base, count, time_suffix) AttributeError: 'module' object has no attribute 'create_numeric_suffic' ---------------------------------------------------------------------- Ran 10 tests in 16.532s FAILED (failures=1, errors=1)