test_univar

./temporal/t.rast.univar – test_univar

Test failed

Testtest_univar
Testsuite./temporal/t.rast.univar
Test file./temporal/t.rast.univar/testsuite/test_univar.py
StatusFAILED
Return code1
Number of tests7
Successful tests2
Failed tests5
Percent successful29%
Test duration0:00:07.908311
Tested modulest.rast.univar

Supplementary files

Standard error output (stderr)

/usr/lib/python2.7/xml/etree/ElementTree.py:1627: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
FFFFF..
======================================================================
FAIL: test_1 (__main__.TestRasterUnivar)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.univar/testsuite/test_univar.py", line 57, in test_1
    self.assertLooksLike(univar_text,  t_rast_univar.outputs.stdout)
  File "etc/python/grass/gunittest/case.py", line 195, in assertLooksLike
    self.fail(self._formatMessage(msg, standardMsg))
AssertionError: "id|start|end|mean|min|max|mean_of_abs|stddev|variance|coeff_var|sum|null_cells|cells
a_1@testing|2001-01-01 00:00:00|2001-04-01 00:00:00|100|100|100|100|0|0|0|960000|0|9600
a_2@testing|2001-04-01 00:00:00|2001-07-01 00:00:00|200|200|200|200|0|0|0|1920000|0|9600
a_3@testing|2001-07-01 00:00:00|2001-10-01 00:00:00|300|300|300|300|0|0|0|2880000|0|9600
a_4@testing|2001-10-01 00:00:00|2002-01-01 00:00:00|400|400|400|400|0|0|0|3840000|0|9600
" does not correspond with "id|start|end|mean|min|max|mean_of_abs|stddev|variance|coeff_var|sum|null_cells|cells
a_1@__temporal_t_rast_univar_test_univar|2001-01-01 00:00:00|2001-04-01 00:00:00|100|100|100|100|0|0|0|960000|0|9600
a_2@__temporal_t_rast_univar_test_univar|2001-04-01 00:00:00|2001-07-01 00:00:00|200|200|200|200|0|0|0|1920000|0|9600
a_3@__temporal_t_rast_univar_test_univar|2001-07-01 00:00:00|2001-10-01 00:00:00|300|300|300|300|0|0|0|2880000|0|9600
a_4@__temporal_t_rast_univar_test_univar|2001-10-01 00:00:00|2002-01-01 00:00:00|400|400|400|400|0|0|0|3840000|0|9600
"

======================================================================
FAIL: test_2 (__main__.TestRasterUnivar)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.univar/testsuite/test_univar.py", line 72, in test_2
    self.assertLooksLike(univar_text,  t_rast_univar.outputs.stdout)
  File "etc/python/grass/gunittest/case.py", line 195, in assertLooksLike
    self.fail(self._formatMessage(msg, standardMsg))
AssertionError: "id|start|end|mean|min|max|mean_of_abs|stddev|variance|coeff_var|sum|null_cells|cells
a_2@testing|2001-04-01 00:00:00|2001-07-01 00:00:00|200|200|200|200|0|0|0|1920000|0|9600
a_3@testing|2001-07-01 00:00:00|2001-10-01 00:00:00|300|300|300|300|0|0|0|2880000|0|9600
a_4@testing|2001-10-01 00:00:00|2002-01-01 00:00:00|400|400|400|400|0|0|0|3840000|0|9600
" does not correspond with "id|start|end|mean|min|max|mean_of_abs|stddev|variance|coeff_var|sum|null_cells|cells
a_2@__temporal_t_rast_univar_test_univar|2001-04-01 00:00:00|2001-07-01 00:00:00|200|200|200|200|0|0|0|1920000|0|9600
a_3@__temporal_t_rast_univar_test_univar|2001-07-01 00:00:00|2001-10-01 00:00:00|300|300|300|300|0|0|0|2880000|0|9600
a_4@__temporal_t_rast_univar_test_univar|2001-10-01 00:00:00|2002-01-01 00:00:00|400|400|400|400|0|0|0|3840000|0|9600
"

======================================================================
FAIL: test_3 (__main__.TestRasterUnivar)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.univar/testsuite/test_univar.py", line 87, in test_3
    self.assertLooksLike(univar_text,  t_rast_univar.outputs.stdout)
  File "etc/python/grass/gunittest/case.py", line 195, in assertLooksLike
    self.fail(self._formatMessage(msg, standardMsg))
AssertionError: "id|start|end|mean|min|max|mean_of_abs|stddev|variance|coeff_var|sum|null_cells|cells
a_2@testing|2001-04-01 00:00:00|2001-07-01 00:00:00|200|200|200|200|0|0|0|19200|0|96
a_3@testing|2001-07-01 00:00:00|2001-10-01 00:00:00|300|300|300|300|0|0|0|28800|0|96
a_4@testing|2001-10-01 00:00:00|2002-01-01 00:00:00|400|400|400|400|0|0|0|38400|0|96
" does not correspond with "id|start|end|mean|min|max|mean_of_abs|stddev|variance|coeff_var|sum|null_cells|cells
a_2@__temporal_t_rast_univar_test_univar|2001-04-01 00:00:00|2001-07-01 00:00:00|200|200|200|200|0|0|0|19200|0|96
a_3@__temporal_t_rast_univar_test_univar|2001-07-01 00:00:00|2001-10-01 00:00:00|300|300|300|300|0|0|0|28800|0|96
a_4@__temporal_t_rast_univar_test_univar|2001-10-01 00:00:00|2002-01-01 00:00:00|400|400|400|400|0|0|0|38400|0|96
"

======================================================================
FAIL: test_4 (__main__.TestRasterUnivar)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.univar/testsuite/test_univar.py", line 104, in test_4
    self.assertLooksLike(univar_text, univar_output)
  File "etc/python/grass/gunittest/case.py", line 195, in assertLooksLike
    self.fail(self._formatMessage(msg, standardMsg))
AssertionError: "id|start|end|mean|min|max|mean_of_abs|stddev|variance|coeff_var|sum|null_cells|cells
a_2@testing|2001-04-01 00:00:00|2001-07-01 00:00:00|200|200|200|200|0|0|0|1920000|0|9600
a_3@testing|2001-07-01 00:00:00|2001-10-01 00:00:00|300|300|300|300|0|0|0|2880000|0|9600
a_4@testing|2001-10-01 00:00:00|2002-01-01 00:00:00|400|400|400|400|0|0|0|3840000|0|9600
" does not correspond with "id|start|end|mean|min|max|mean_of_abs|stddev|variance|coeff_var|sum|null_cells|cells
a_2@__temporal_t_rast_univar_test_univar|2001-04-01 00:00:00|2001-07-01 00:00:00|200|200|200|200|0|0|0|1920000|0|9600
a_3@__temporal_t_rast_univar_test_univar|2001-07-01 00:00:00|2001-10-01 00:00:00|300|300|300|300|0|0|0|2880000|0|9600
a_4@__temporal_t_rast_univar_test_univar|2001-10-01 00:00:00|2002-01-01 00:00:00|400|400|400|400|0|0|0|3840000|0|9600
"

======================================================================
FAIL: test_5 (__main__.TestRasterUnivar)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "temporal/t.rast.univar/testsuite/test_univar.py", line 120, in test_5
    self.assertLooksLike(univar_text, univar_output)
  File "etc/python/grass/gunittest/case.py", line 195, in assertLooksLike
    self.fail(self._formatMessage(msg, standardMsg))
AssertionError: "a_2@testing|2001-04-01 00:00:00|2001-07-01 00:00:00|200|200|200|200|0|0|0|1920000|0|9600
a_3@testing|2001-07-01 00:00:00|2001-10-01 00:00:00|300|300|300|300|0|0|0|2880000|0|9600
a_4@testing|2001-10-01 00:00:00|2002-01-01 00:00:00|400|400|400|400|0|0|0|3840000|0|9600
" does not correspond with "a_2@__temporal_t_rast_univar_test_univar|2001-04-01 00:00:00|2001-07-01 00:00:00|200|200|200|200|0|0|0|1920000|0|9600
a_3@__temporal_t_rast_univar_test_univar|2001-07-01 00:00:00|2001-10-01 00:00:00|300|300|300|300|0|0|0|2880000|0|9600
a_4@__temporal_t_rast_univar_test_univar|2001-10-01 00:00:00|2002-01-01 00:00:00|400|400|400|400|0|0|0|3840000|0|9600
"

----------------------------------------------------------------------
Ran 7 tests in 7.036s
FAILED (failures=5)