test_r_horizon

./raster/r.horizon – test_r_horizon

Test failed

Testtest_r_horizon
Testsuite./raster/r.horizon
Test file./raster/r.horizon/testsuite/test_r_horizon.py
StatusFAILED
Return code1
Number of tests5
Successful tests4
Failed tests1
Percent successful80%
Test duration0:01:22.391777
Tested modulesr.horizon

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,
F....
======================================================================
FAIL: test_point_mode_multiple_direction (__main__.TestHorizon)
Test mode with 1 point and multiple directions
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.horizon/testsuite/test_r_horizon.py", line 102, in test_point_mode_multiple_direction
    self.assertMultiLineEqual(first=ref2, second=stdout)
  File "etc/python/grass/gunittest/case.py", line 177, in assertMultiLineEqual
    first=first, second=second, msg=msg)
AssertionError: 'azimuth,horizon_height\n180.000000,0.023101\n200.000000,0.034850\n220.000000,0. [truncated]... != u'azimuth,horizon_height\n180.000000,0.023101\n200.000000,0.034850\n220.000000,0 [truncated]...
  azimuth,horizon_height
  180.000000,0.023101
  200.000000,0.034850
  220.000000,0.050549
  240.000000,0.048211
  260.000000,0.053101
  280.000000,0.039774
  300.000000,0.032360
  320.000000,0.014804
- 340.000000,0.000000
?                ^^^^
+ 340.000000,-0.001438
?            +    ^^^^
  360.000000,0.004724
  20.000000,0.012612
  40.000000,0.015207
  60.000000,0.014344
  80.000000,0.011044
  100.000000,0.012192
  120.000000,0.007462
  140.000000,0.004071
  160.000000,0.015356


----------------------------------------------------------------------
Ran 5 tests in 81.772s
FAILED (failures=1)