❌ 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 | 4 |
Failed tests | 6 |
Percent successful | 40% |
Test duration | 0:00:27.542225 |
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, FFFF..FF.. ====================================================================== FAIL: test_parallel (__main__.TestRasterContour) Run 4 contour processes do not create attribute tables ---------------------------------------------------------------------- Traceback (most recent call last): File "temporal/t.rast.contour/testsuite/test_convert.py", line 132, in test_parallel self.assertModuleKeyValue(module=info, reference=tinfo_string, precision=2, sep="=") File "etc/python/grass/gunittest/case.py", line 254, in assertModuleKeyValue self.fail(self._formatMessage(msg, stdMsg)) AssertionError: t.info input=result type=stvds -g difference: mismatch values (key, reference, actual): [('end_time', '2002-01-01 00:00:00', u"'2002-01-01 00:00:00'"), ('granularity', '3 months', u"'3 months'"), ('start_time', '2001-01-01 00:00:00', u"'2001-01-01 00:00:00'")] command: t.info input=result type=stvds -g {} ====================================================================== FAIL: test_parallel_cut (__main__.TestRasterContour) Do not register empty maps ---------------------------------------------------------------------- Traceback (most recent call last): File "temporal/t.rast.contour/testsuite/test_convert.py", line 153, in test_parallel_cut self.assertModuleKeyValue(module=info, reference=tinfo_string, precision=2, sep="=") File "etc/python/grass/gunittest/case.py", line 254, in assertModuleKeyValue self.fail(self._formatMessage(msg, stdMsg)) AssertionError: t.info input=result type=stvds -g difference: mismatch values (key, reference, actual): [('end_time', '2002-01-01 00:00:00', u"'2002-01-01 00:00:00'"), ('granularity', '3 months', u"'3 months'"), ('start_time', '2001-01-01 00:00:00', u"'2001-01-01 00:00:00'")] command: t.info input=result type=stvds -g {} ====================================================================== FAIL: test_register_empty_maps (__main__.TestRasterContour) ---------------------------------------------------------------------- Traceback (most recent call last): File "temporal/t.rast.contour/testsuite/test_convert.py", line 68, in test_register_empty_maps self.assertModuleKeyValue(module=info, reference=tinfo_string, precision=2, sep="=") File "etc/python/grass/gunittest/case.py", line 254, in assertModuleKeyValue self.fail(self._formatMessage(msg, stdMsg)) AssertionError: t.info input=result type=stvds -g difference: mismatch values (key, reference, actual): [('end_time', '2002-04-01 00:00:00', u"'2002-04-01 00:00:00'"), ('granularity', '3 months', u"'3 months'"), ('start_time', '2001-01-01 00:00:00', u"'2001-01-01 00:00:00'")] command: t.info input=result type=stvds -g {} ====================================================================== FAIL: test_simple (__main__.TestRasterContour) Do not register empty maps ---------------------------------------------------------------------- Traceback (most recent call last): File "temporal/t.rast.contour/testsuite/test_convert.py", line 89, in test_simple self.assertModuleKeyValue(module=info, reference=tinfo_string, precision=2, sep="=") File "etc/python/grass/gunittest/case.py", line 254, in assertModuleKeyValue self.fail(self._formatMessage(msg, stdMsg)) AssertionError: t.info input=result type=stvds -g difference: mismatch values (key, reference, actual): [('end_time', '2002-01-01 00:00:00', u"'2002-01-01 00:00:00'"), ('granularity', '3 months', u"'3 months'"), ('start_time', '2001-01-01 00:00:00', u"'2001-01-01 00:00:00'")] command: t.info input=result type=stvds -g {} ====================================================================== FAIL: test_where (__main__.TestRasterContour) Use where statement and do not register empty maps ---------------------------------------------------------------------- Traceback (most recent call last): File "temporal/t.rast.contour/testsuite/test_convert.py", line 111, in test_where self.assertModuleKeyValue(module=info, reference=tinfo_string, precision=2, sep="=") File "etc/python/grass/gunittest/case.py", line 254, in assertModuleKeyValue self.fail(self._formatMessage(msg, stdMsg)) AssertionError: t.info input=result type=stvds -g difference: mismatch values (key, reference, actual): [('end_time', '2002-01-01 00:00:00', u"'2002-01-01 00:00:00'"), ('granularity', '3 months', u"'3 months'"), ('start_time', '2001-04-01 00:00:00', u"'2001-04-01 00:00:00'")] command: t.info input=result type=stvds -g {} ====================================================================== FAIL: test_where_step (__main__.TestRasterContour) Use where statement and do not register empty maps ---------------------------------------------------------------------- Traceback (most recent call last): File "temporal/t.rast.contour/testsuite/test_convert.py", line 175, in test_where_step self.assertModuleKeyValue(module=info, reference=tinfo_string, precision=2, sep="=") File "etc/python/grass/gunittest/case.py", line 254, in assertModuleKeyValue self.fail(self._formatMessage(msg, stdMsg)) AssertionError: t.info input=result type=stvds -g difference: mismatch values (key, reference, actual): [('end_time', '2002-01-01 00:00:00', u"'2002-01-01 00:00:00'"), ('granularity', '3 months', u"'3 months'"), ('start_time', '2001-04-01 00:00:00', u"'2001-04-01 00:00:00'")] command: t.info input=result type=stvds -g {} ---------------------------------------------------------------------- Ran 10 tests in 26.882s FAILED (failures=6)