test_what_strds stderr
/usr/lib/python2.7/xml/etree/ElementTree.py:1627: DeprecationWarning: This method of XMLParser is deprecated. Define doctype() method on the TreeBuilder target.
DeprecationWarning,
FF
======================================================================
FAIL: test_output (__main__.TestWhatStrds)
----------------------------------------------------------------------
Traceback (most recent call last):
File "scripts/v.what.strds/testsuite/test_what_strds.py", line 50, in test_output
output="what_strds", overwrite=True)
File "etc/python/grass/gunittest/case.py", line 1157, in assertModule
self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <v.what.strds> module ended with non-zero return code (1)
Called: v.what_strds(input='points', strds=['A'], output='what_strds', overwrite=True)
See the folowing errors:
Default driver / database set to:
driver: sqlite
database: /grassdata/tests-grassdata/piemonte_utm32_wgs84_grass7/__scripts_v_what_strds_test_what_strds/sqlite/sqlite.db
Traceback (most recent call last):
File "scripts/v.db.addtable", line 150, in <module>
sys.exit(main())
File "scripts/v.db.addtable", line 129, in main
table = '%s.%s' (schema, table)
TypeError: 'str' object is not callable
ERROR: Impossible add table to vector what_strds
======================================================================
FAIL: test_values (__main__.TestWhatStrds)
----------------------------------------------------------------------
Traceback (most recent call last):
File "scripts/v.what.strds/testsuite/test_what_strds.py", line 58, in test_values
output="what_strds", overwrite=True)
File "etc/python/grass/gunittest/case.py", line 1157, in assertModule
self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <v.what.strds> module ended with non-zero return code (1)
Called: v.what_strds(input='points', strds=['A'], output='what_strds', overwrite=True)
See the folowing errors:
WARNING: Vector map <what_strds> already exists and will be overwritten
DB settings already defined, nothing to do
Traceback (most recent call last):
File "scripts/v.db.addtable", line 150, in <module>
sys.exit(main())
File "scripts/v.db.addtable", line 129, in main
table = '%s.%s' (schema, table)
TypeError: 'str' object is not callable
ERROR: Impossible add table to vector what_strds
----------------------------------------------------------------------
Ran 2 tests in 3.242s
FAILED (failures=2)