unittests_temporal_raster_algebra

./lib/python/temporal – unittests_temporal_raster_algebra

Test failed

Testunittests_temporal_raster_algebra
Testsuite./lib/python/temporal
Test file./lib/python/temporal/testsuite/unittests_temporal_raster_algebra.py
StatusFAILED
Return code1
Number of tests42
Successful tests0
Failed tests80
Percent successful0%
Test duration0:02:24.441538

Supplementary files

Standard error output (stderr)

... (lines omitted)
    tb.build(maplistA, maplistB)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 552, in build
    vector.RTreeSearch2(tree, rect, list_)
ArgumentError: argument 1: <type 'exceptions.TypeError'>: expected LP_struct_RTree instance instead of LP_struct_RTree

======================================================================
ERROR: test_temporal_select_operators4 (__main__.TestTemporalRasterAlgebra)
Testing the temporal select operator. Including temporal relations and
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_raster_algebra.py", line 61, in tearDown
    self.runModule("t.remove", flags="rf", inputs="R", quiet=True)
  File "etc/python/grass/gunittest/case.py", line 1098, in runModule
    errors=errors)
CalledModuleError: Module run 1 t.remove ended with error
Process ended with non-zero return code t.remove(inputs=['R'], type='strds', flags=u'rf', quiet=True). See errors in the (error) output.

======================================================================
ERROR: test_tmap_function1 (__main__.TestTemporalRasterAlgebra)
Testing the tmap function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_raster_algebra.py", line 549, in test_tmap_function1
    self.assertEqual( D.check_temporal_topology(),  True)
  File "etc/python/grass/temporal/abstract_space_time_dataset.py", line 540, in check_temporal_topology
    dbif=dbif)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 847, in count_temporal_topology_relationships
    tb.build(maps1, maps2)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 552, in build
    vector.RTreeSearch2(tree, rect, list_)
ArgumentError: argument 1: <type 'exceptions.TypeError'>: expected LP_struct_RTree instance instead of LP_struct_RTree

======================================================================
ERROR: test_tmap_function2 (__main__.TestTemporalRasterAlgebra)
Testing the tmap function.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/temporal/testsuite/unittests_temporal_raster_algebra.py", line 566, in test_tmap_function2
    self.assertEqual( D.check_temporal_topology(),  True)
  File "etc/python/grass/temporal/abstract_space_time_dataset.py", line 540, in check_temporal_topology
    dbif=dbif)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 847, in count_temporal_topology_relationships
    tb.build(maps1, maps2)
  File "etc/python/grass/temporal/spatio_temporal_relationships.py", line 552, in build
    vector.RTreeSearch2(tree, rect, list_)
ArgumentError: argument 1: <type 'exceptions.TypeError'>: expected LP_struct_RTree instance instead of LP_struct_RTree

----------------------------------------------------------------------
Ran 42 tests in 143.134s
FAILED (errors=80)