❌ Test failed
Test | test_extract |
Testsuite | ./temporal/t.rast.extract |
Test file | ./temporal/t.rast.extract/testsuite/test_extract.py |
Status | FAILED |
Return code | 1 |
Number of tests | 6 |
Successful tests | 3 |
Failed tests | 3 |
Percent successful | 50% |
Test duration | 0:00:23.082957 |
Tested modules | t.rast.extract |
/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated. Define doctype() method on the TreeBuilder target. DeprecationWarning, F.FF.. ====================================================================== FAIL: test_expression_with_empty_maps (__main__.TestRasterExtraction) Perform r.mapcalc expression and register empty maps ---------------------------------------------------------------------- Traceback (most recent call last): File "temporal/t.rast.extract/testsuite/test_extract.py", line 161, in test_expression_with_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=precip_abs2 type=strds -g difference: mismatch values (key, reference, actual): [('end_time', '2002-07-01 00:00:00', u"'2002-07-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=precip_abs2 type=strds -g {} ====================================================================== FAIL: test_selection (__main__.TestRasterExtraction) Perform a simple selection by datetime ---------------------------------------------------------------------- Traceback (most recent call last): File "temporal/t.rast.extract/testsuite/test_extract.py", line 96, in test_selection 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=precip_abs2 type=strds -g difference: mismatch values (key, reference, actual): [('end_time', '2002-07-01 00:00:00', u"'2002-07-01 00:00:00'"), ('granularity', '3 months', u"'3 months'"), ('start_time', '2001-07-01 00:00:00', u"'2001-07-01 00:00:00'")] command: t.info input=precip_abs2 type=strds -g {} ====================================================================== FAIL: test_selection_and_expression (__main__.TestRasterExtraction) Perform a selection by datetime and a r.mapcalc expression ---------------------------------------------------------------------- Traceback (most recent call last): File "temporal/t.rast.extract/testsuite/test_extract.py", line 129, in test_selection_and_expression 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=precip_abs2 type=strds -g difference: mismatch values (key, reference, actual): [('end_time', '2002-07-01 00:00:00', u"'2002-07-01 00:00:00'"), ('granularity', '3 months', u"'3 months'"), ('start_time', '2002-01-01 00:00:00', u"'2002-01-01 00:00:00'")] command: t.info input=precip_abs2 type=strds -g {} ---------------------------------------------------------------------- Ran 6 tests in 22.422s FAILED (failures=3)