test_extract

./temporal/t.rast3d.extract – test_extract

Test failed

Testtest_extract
Testsuite./temporal/t.rast3d.extract
Test file./temporal/t.rast3d.extract/testsuite/test_extract.py
StatusFAILED
Return code1
Number of tests6
Successful tests3
Failed tests3
Percent successful50%
Test duration0:00:24.019556
Tested modulest.rast3d.extract

Supplementary files

Standard error output (stderr)

/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__.TestRaster3dExtraction)
Perform r3.mapcalc expression and register empty maps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast3d.extract/testsuite/test_extract.py", line 117, 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=B type=str3ds -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=B type=str3ds -g {}

======================================================================
FAIL: test_selection (__main__.TestRaster3dExtraction)
Perform a simple selection by datetime
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast3d.extract/testsuite/test_extract.py", line 72, 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=B type=str3ds -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=B type=str3ds -g {}

======================================================================
FAIL: test_selection_and_expression (__main__.TestRaster3dExtraction)
Perform a selection by datetime and a r3.mapcalc expression
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast3d.extract/testsuite/test_extract.py", line 95, 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=B type=str3ds -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=B type=str3ds -g {}

----------------------------------------------------------------------
Ran 6 tests in 23.273s
FAILED (failures=3)