test_r_contour

./raster/r.contour – test_r_contour

Test failed

Testtest_r_contour
Testsuite./raster/r.contour
Test file./raster/r.contour/testsuite/test_r_contour.py
StatusFAILED
Return code1
Number of tests3
Successful tests1
Failed tests2
Percent successful33%
Test duration0:00:33.796537
Tested modulesr.contour, v.db.select

Supplementary files

Standard error output (stderr)

/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)