test_profile_ncspm

./raster/r.profile – test_profile_ncspm

Test failed

Testtest_profile_ncspm
Testsuite./raster/r.profile
Test file./raster/r.profile/testsuite/test_profile_ncspm.py
StatusFAILED
Return code1
Number of tests6
Successful tests0
Failed tests6
Percent successful0%
Test duration0:00:01.354124
Tested modulesr.profile

Supplementary files

Standard error output (stderr)

... (lines omitted)
+  86.533231 91.341331
+  96.533231 91.639000
-  86.533231 nodata
?  ^
+  106.533231 nodata
?  ^^
-  111.533231 nodata
?    ^
+  116.533231 nodata
?    ^
+  126.533231 nodata
   136.533231 nodata
-  161.533231 nodata
?    -
+  146.533231 nodata
?   +
+  156.533231 nodata
+  166.533231 nodata
+  176.533231 nodata
   186.533231 nodata
+  196.533231 nodata
+  206.533231 nodata
-  211.533231 nodata?    ^
+  216.533231 nodata?    ^


======================================================================
FAIL: test_profile_resolution (__main__.TestProfileNCSPM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.profile/testsuite/test_profile_ncspm.py", line 163, in test_profile_resolution
    self.assertMultiLineEqual(rprofile.outputs.stdout.strip(), output4.strip())
  File "etc/python/grass/gunittest/case.py", line 177, in assertMultiLineEqual
    first=first, second=second, msg=msg)
AssertionError: u'0.000000 *\n 25.000000 *\n 50.000000 *\n 75.000000 *\n 100.000000 *\n 125.0000 [truncated]... != '0.000000 88.370453\n 25.000000 89.526253\n 50.000000 91.297195\n 75.000000 94.7 [truncated]...
- 0.000000 *
-  25.000000 *
-  50.000000 *
-  75.000000 *
-  100.000000 *
-  125.000000 *+ 0.000000 88.370453
+  25.000000 89.526253
+  50.000000 91.297195
+  75.000000 94.768280
+  100.000000 96.770805
+  125.000000 97.646629

----------------------------------------------------------------------
Ran 6 tests in 0.617s
FAILED (failures=6)