test_v_to_lines

./scripts/v.to.lines – test_v_to_lines

Test failed

Testtest_v_to_lines
Testsuite./scripts/v.to.lines
Test file./scripts/v.to.lines/testsuite/test_v_to_lines.py
StatusFAILED
Return code1
Number of tests2
Successful tests0
Failed tests2
Percent successful0%
Test duration0:00:00.987490

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_area_to_line_check (__main__.TestVDToLines)
Area to line conversion test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "scripts/v.to.lines/testsuite/test_v_to_lines.py", line 31, in test_area_to_line_check
    self.assertModule(module)
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <v.to.lines> module ended with non-zero return code (1)
Called: v.to_lines(input='boundary_municp', output='boundary_municp_lines', method='delaunay')
See the following errors:
ERROR: Vector map <boundary_municp> not found
Traceback (most recent call last):
  File "scripts/v.to.lines", line 177, in <module>
    main()
  File "scripts/v.to.lines", line 69, in main
    in_info = grass.vector_info(input)
  File "etc/python/grass/script/vector.py", line 189, in vector_info
    s = read_command('v.info', flags='get', layer=layer, map=map)
  File "etc/python/grass/script/core.py", line 514, in read_command
    return handle_errors(returncode, stdout, args, kwargs)
  File "etc/python/grass/script/core.py", line 354, in handle_errors
    returncode=returncode)
grass.exceptions.CalledModuleError: Module run None v.info-getmap=boundary_municplayer=1 ended with error
Process ended with non-zero return code 1. See errors in the (error) output.


======================================================================
FAIL: test_point_to_line_check (__main__.TestVDToLines)
Point to line conversion test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "scripts/v.to.lines/testsuite/test_v_to_lines.py", line 39, in test_point_to_line_check
    self.assertModule(module)
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <v.to.lines> module ended with non-zero return code (1)
Called: v.to_lines(input='geodetic_pts', output='geodetic_pts_lines', method='delaunay', overwrite=True)
See the following errors:
ERROR: Vector map <geodetic_pts> not found
Traceback (most recent call last):
  File "scripts/v.to.lines", line 177, in <module>
    main()
  File "scripts/v.to.lines", line 69, in main
    in_info = grass.vector_info(input)
  File "etc/python/grass/script/vector.py", line 189, in vector_info
    s = read_command('v.info', flags='get', layer=layer, map=map)
  File "etc/python/grass/script/core.py", line 514, in read_command
    return handle_errors(returncode, stdout, args, kwargs)
  File "etc/python/grass/script/core.py", line 354, in handle_errors
    returncode=returncode)
grass.exceptions.CalledModuleError: Module run None v.info-getmap=geodetic_ptslayer=1 ended with error
Process ended with non-zero return code 1. See errors in the (error) output.


----------------------------------------------------------------------
Ran 2 tests in 0.300s
FAILED (failures=2)