test_what_strds

./scripts/v.what.strds – test_what_strds

Test failed

Testtest_what_strds
Testsuite./scripts/v.what.strds
Test file./scripts/v.what.strds/testsuite/test_what_strds.py
StatusFAILED
Return code1
Number of tests2
Successful tests0
Failed tests2
Percent successful0%
Test duration0:00:04.142253

Supplementary files

Standard error output (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 1139, 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/nc_basic_spm_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 1139, 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.267s
FAILED (failures=2)