test_v_db_droprow

./scripts/v.db.droprow – test_v_db_droprow

Test failed

Testtest_v_db_droprow
Testsuite./scripts/v.db.droprow
Test file./scripts/v.db.droprow/testsuite/test_v_db_droprow.py
StatusFAILED
Return code1
Number of tests1
Successful tests0
Failed tests1
Percent successful0%
Test duration0:00:04.254418
Tested modulesv.db.droprow

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,
Generating points...
0..5..10..15..20..25..30..35..40..45..50..55..60..65..70..75..80..85..90..95..100
Building topology for vector map <rand5k_elev@__scripts_v_db_droprow_test_v_db_droprow>...
Registering primitives...

WARNING: Values in column <cat> will be overwritten
Reading features...
0..3..6..9..12..15..18..21..24..27..30..33..36..39..42..45..48..51..54..57..60..63..66..69..72..75..78..81..84..87..90..93..96..99..100
Updating database...
0..3..6..9..12..15..18..21..24..27..30..33..36..39..42..45..48..51..54..57..60..63..66..69..72..75..78..81..84..87..90..93..96..99..100
5000 categories read from vector map (layer 1)
5000 categories read from vector map don't exist in selection from table
5000 records updated/inserted (layer 1)
Reading features from vector map...

Update vector attributes...
0..3..6..9..12..15..18..21..24..27..30..33..36..39..42..45..48..51..54..57..60..63..66..69..72..75..78..81..84..87..90..93..96..99..100
v.what.rast complete. 5000 records updated.
F
======================================================================
FAIL: test_drop_row_check (__main__.TestVDbDropRow)
Drop vector object from a vector map
----------------------------------------------------------------------
Traceback (most recent call last):
  File "scripts/v.db.droprow/testsuite/test_v_db_droprow.py", line 50, in test_drop_row_check
    reference=self.values, precision=5)
  File "etc/python/grass/gunittest/case.py", line 446, in assertVectorFitsUnivar
    **parameters)
  File "etc/python/grass/gunittest/case.py", line 254, in assertModuleKeyValue
    self.fail(self._formatMessage(msg, stdMsg))
AssertionError: v.univar map=rand5k_elev_filt layer=1 type=point,line,area column=elevation percentile=90 -g difference:
mismatch values (key, reference, actual): [('max', 155.157, 4297.64), ('min', 56.12, 71.1496)]
command: v.univar map=rand5k_elev_filt layer=1 type=point,line,area column=elevation percentile=90 -g {'column': 'elevation', 'map': 'rand5k_elev_filt', 'flags': 'g'}

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