❌ Test failed
Test | unittests_temporal_raster_conditionals |
Testsuite | ./lib/python/temporal |
Test file | ./lib/python/temporal/testsuite/unittests_temporal_raster_conditionals.py |
Status | FAILED |
Return code | 1 |
Number of tests | 26 |
Successful tests | 0 |
Failed tests | 50 |
Percent successful | 0% |
Test duration | 0:01:25.569318 |
... (lines omitted) ====================================================================== ERROR: test_temporal_conditional_relation_1 (__main__.TestTemporalRasterAlgebraConditionals) Testing the conditional time dimension bug, that uses the time ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/temporal/testsuite/unittests_temporal_raster_conditionals.py", line 58, 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_temporal_conditional_time_dimension_bug (__main__.TestTemporalRasterAlgebraConditionals) Testing the conditional time dimension bug, that uses the time ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/temporal/testsuite/unittests_temporal_raster_conditionals.py", line 72, in test_temporal_conditional_time_dimension_bug tra.parse(expression='R = if({contains}, B == 5, A - 1, A + 1)', basename="r", overwrite=True) File "etc/python/grass/temporal/temporal_raster_algebra.py", line 112, in parse self.parser.parse(expression) File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 331, in parse return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc) File "/usr/lib/python2.7/dist-packages/ply/yacc.py", line 1106, in parseopt_notrack p.callable(pslice) File "etc/python/grass/temporal/temporal_raster_base_algebra.py", line 1796, in p_s_expr_condition_elif_relation null=False) File "etc/python/grass/temporal/temporal_raster_base_algebra.py", line 560, in build_condition_cmd_list conclusion_topolist) File "etc/python/grass/temporal/temporal_raster_base_algebra.py", line 263, in build_spatio_temporal_topology_list 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_conditional_time_dimension_bug (__main__.TestTemporalRasterAlgebraConditionals) Testing the conditional time dimension bug, that uses the time ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/temporal/testsuite/unittests_temporal_raster_conditionals.py", line 58, 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. ---------------------------------------------------------------------- Ran 26 tests in 84.417s FAILED (errors=50)