❌ Test failed
Test | test_r_contour |
Testsuite | ./raster/r.contour |
Test file | ./raster/r.contour/testsuite/test_r_contour.py |
Status | FAILED |
Return code | 1 |
Number of tests | 3 |
Successful tests | 1 |
Failed tests | 2 |
Percent successful | 33% |
Test duration | 0:00:33.796537 |
Tested modules | r.contour, v.db.select |
/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated. Define doctype() method on the TreeBuilder target. DeprecationWarning, FF. ====================================================================== FAIL: test_raster_contour (__main__.TestRasterWhat) Testing r.contour runs successfully with input steps,levels, minlevel, maxlevel ---------------------------------------------------------------------- Traceback (most recent call last): File "raster/r.contour/testsuite/test_r_contour.py", line 58, in test_raster_contour self.assertMultiLineEqual(fileData, self.test_ref_str) File "etc/python/grass/gunittest/case.py", line 177, in assertMultiLineEqual first=first, second=second, msg=msg) AssertionError: 'cat|level\n1|90\n2|120\n3|150\n' != 'cat|level\n1|60\n2|90\n3|120\n4|150\n' cat|level - 1|90 ? ^ + 1|60 ? ^ + 2|90 - 2|120 ? ^ + 3|120 ? ^ - 3|150 ? ^ + 4|150 ? ^ ====================================================================== FAIL: test_raster_contour_cut (__main__.TestRasterWhat) Testing r.contour runs successfully with input steps,levels, minlevel, maxlevel and cut=100 ---------------------------------------------------------------------- Traceback (most recent call last): File "raster/r.contour/testsuite/test_r_contour.py", line 72, in test_raster_contour_cut self.assertMultiLineEqual(fileData, self.test_ref_str) File "etc/python/grass/gunittest/case.py", line 177, in assertMultiLineEqual first=first, second=second, msg=msg) AssertionError: 'cat|level\n1|90\n2|120\n3|150\n' != 'cat|level\n1|60\n2|90\n3|120\n4|150\n' cat|level - 1|90 ? ^ + 1|60 ? ^ + 2|90 - 2|120 ? ^ + 3|120 ? ^ - 3|150 ? ^ + 4|150 ? ^ ---------------------------------------------------------------------- Ran 3 tests in 33.109s FAILED (failures=2)