test_v_db_renamecolumn

./scripts/v.db.renamecolumn – test_v_db_renamecolumn

Test failed

Testtest_v_db_renamecolumn
Testsuite./scripts/v.db.renamecolumn
Test file./scripts/v.db.renamecolumn/testsuite/test_v_db_renamecolumn.py
StatusFAILED
Return code1
Number of tests1
Successful tests0
Failed tests1
Percent successful0%
Test duration0:00:01.034282

Supplementary files

Standard error output (stderr)

Copy vector <roadsmajor@PERMANENT> to current mapset as <myroads>
Default driver / database set to:
driver: sqlite
database: $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db
/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
FRemoving vector <myroads>

======================================================================
FAIL: test_rename_column (__main__.TestVDbRenameColumn)
Renaming a column
----------------------------------------------------------------------
Traceback (most recent call last):
  File "scripts/v.db.renamecolumn/testsuite/test_v_db_renamecolumn.py", line 33, in test_rename_column
    self.assertModule(module)
  File "etc/python/grass/gunittest/case.py", line 1164, in assertModule
    self.fail(self._formatMessage(msg, stdmsg))
AssertionError: Running <v.db.renamecolumn> module ended with non-zero return code (1)
Called: v.db_renamecolumn(map='myroads', layer='1', column=[('ROAD_NAME', 'roadname')])
See the following errors:
ERROR: Column <ROAD_NAME> not found in table <myroads>


----------------------------------------------------------------------
Ran 1 test in 0.348s
FAILED (failures=1)