❌ Test failed
Test | test_what_strds |
Testsuite | ./scripts/v.what.strds |
Test file | ./scripts/v.what.strds/testsuite/test_what_strds.py |
Status | FAILED |
Return code | 1 |
Number of tests | 2 |
Successful tests | 0 |
Failed tests | 2 |
Percent successful | 0% |
Test duration | 0:00:04.142253 |
/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)