[GRASS-dev] Temporal tests failing: t.rast.aggregate

Markus Neteler neteler at osgeo.org
Thu Mar 30 13:14:49 PDT 2017


On Thu, Mar 30, 2017 at 5:08 PM, Vaclav Petras <wenzeslaus at gmail.com> wrote:
> There are new tests for t.rast.aggregate which are failing. The change
> happened between these revisions:
>
> 2017-03-04 03:01:30 (SVN revision 70724)
> 2017-03-05 03:01:30 (SVN revision 70728)
>
> These are the tests:
>
> http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2017-03-05-08-00/report_for_nc_basic_spm_grass7_nc/temporal/t.rast.aggregate/test_aggregation_absolute/index.html
> http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2017-03-05-08-00/report_for_nc_basic_spm_grass7_nc/temporal/t.rast.aggregate/test_aggregation_relative/index.html
>
> You can see the change here:
>
> http://fatra.cnr.ncsu.edu/grassgistests/summary_report/nc/index.html

So this the error:

======================================================================
FAIL: test_aggregation_1month (__main__.TestAggregationAbsolute)
Aggregation one month
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.aggregate/testsuite/test_aggregation_absolute.py",
line 102, in test_aggregation_1month
    precision=2, sep="=")
  File "etc/python/grass/gunittest/case.py", line 253, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: t.info input=B type=strds -g difference:
mismatch values (key, reference, actual): [('end_time', '2001-04-01
00:00:00', '2001-05-01 00:00:00')]
command: t.info input=B type=strds -g {}

======================================================================
FAIL: test_aggregation_3months (__main__.TestAggregationAbsolute)
Aggregation three month
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.aggregate/testsuite/test_aggregation_absolute.py",
line 176, in test_aggregation_3months
    precision=2, sep="=")
  File "etc/python/grass/gunittest/case.py", line 253, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: t.info input=B type=strds -g difference:
mismatch values (key, reference, actual): [('end_time', '2001-04-01
00:00:00', '2001-07-01 00:00:00')]
command: t.info input=B type=strds -g {}

Does anyone have an idea?

Markus


More information about the grass-dev mailing list