test_assertions_vect

./lib/python/gunittest – test_assertions_vect

Test failed

Test filetest_assertions_vect
Testsuite./lib/python/gunittest
StatusFAILED
Return code1
Number of tests11
Successful tests5
Failed tests6
Percent successful45%
Test duration0:00:03.018320

Supplementary files

Standard error output (stderr)

etc/python/grass/lib/gis.py:803: DeprecationWarning: classic int division
  ('__val', c_ulong * (1024 / (8 * sizeof(c_ulong)))),
../usr/lib/python2.7/xml/etree/ElementTree.py:1627: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
.E..EEEEE
======================================================================
ERROR: test_assertVectorEqualsVector_basic (__main__.TestVectorGeometryAssertions)
Check completely different maps.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/gunittest/testsuite/test_assertions_vect.py", line 147, in test_assertVectorEqualsVector_basic
    precision=0.01, digits=15)
  File "etc/python/grass/gunittest/case.py", line 796, in assertVectorEqualsVector
    self.assertVectorInfoEqualsVectorInfo(actual=actual, reference=reference, precision=precision, msg=msg)
  File "etc/python/grass/gunittest/case.py", line 354, in assertVectorInfoEqualsVectorInfo
    self.runModule(module)
  File "etc/python/grass/gunittest/case.py", line 953, in runModule
    errors=errors)
CalledModuleError: Module run 1 v.info ended with error
Process ended with non-zero return code v.info(map='bridges', layer='1', flags=u't'). See the following errors:
ERROR: Vector map <bridges> not found

See available vector maps:
simple_vector_map_imported_base
aree_edificate
aree_inondabili
aree_montane
autostrade
beni_ambientali
beni_urbanistici
confini_comunali
confini_provinciali
corine1990
edifici_osm
ferrovie
fiumi
galasso
isolinee
laghi
lst_2010_average_piemonte_box
natura2000_sic
natura2000_sir
natura2000_zps
parchi
punti_quotati
stazioni_ferroviarie
strade_comunali
strade_provinciali
strade_statali


======================================================================
ERROR: test_assertVectorFitsExtendedInfo (__main__.TestVectorInfoAssertions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/gunittest/testsuite/test_assertions_vect.py", line 100, in test_assertVectorFitsExtendedInfo
    self.assertVectorFitsExtendedInfo('bridges', V_UNIVAR_BRIDGES_EXTENDED)
  File "etc/python/grass/gunittest/case.py", line 344, in assertVectorFitsExtendedInfo
    precision=0)
  File "etc/python/grass/gunittest/case.py", line 174, in assertModuleKeyValue
    self.runModule(module, expecting_stdout=True)
  File "etc/python/grass/gunittest/case.py", line 953, in runModule
    errors=errors)
CalledModuleError: Module run 1 v.info ended with error
Process ended with non-zero return code v.info(map='bridges', layer='1', flags=u'e'). See the following errors:
ERROR: Vector map <bridges> not found

See available vector maps:
aree_edificate
aree_inondabili
aree_montane
autostrade
beni_ambientali
beni_urbanistici
confini_comunali
confini_provinciali
corine1990
edifici_osm
ferrovie
fiumi
galasso
isolinee
laghi
lst_2010_average_piemonte_box
natura2000_sic
natura2000_sir
natura2000_zps
parchi
punti_quotati
stazioni_ferroviarie
strade_comunali
strade_provinciali
strade_statali


======================================================================
ERROR: test_assertVectorFitsRegionInfo (__main__.TestVectorInfoAssertions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/gunittest/testsuite/test_assertions_vect.py", line 88, in test_assertVectorFitsRegionInfo
    self.assertVectorFitsRegionInfo('bridges', V_UNIVAR_BRIDGES_REGION, precision=1.0)
  File "etc/python/grass/gunittest/case.py", line 323, in assertVectorFitsRegionInfo
    precision=precision)
  File "etc/python/grass/gunittest/case.py", line 174, in assertModuleKeyValue
    self.runModule(module, expecting_stdout=True)
  File "etc/python/grass/gunittest/case.py", line 953, in runModule
    errors=errors)
CalledModuleError: Module run 1 v.info ended with error
Process ended with non-zero return code v.info(map='bridges', layer='1', flags=u'g'). See the following errors:
ERROR: Vector map <bridges> not found

See available vector maps:
aree_edificate
aree_inondabili
aree_montane
autostrade
beni_ambientali
beni_urbanistici
confini_comunali
confini_provinciali
corine1990
edifici_osm
ferrovie
fiumi
galasso
isolinee
laghi
lst_2010_average_piemonte_box
natura2000_sic
natura2000_sir
natura2000_zps
parchi
punti_quotati
stazioni_ferroviarie
strade_comunali
strade_provinciali
strade_statali


======================================================================
ERROR: test_assertVectorFitsTopoInfo (__main__.TestVectorInfoAssertions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/gunittest/testsuite/test_assertions_vect.py", line 75, in test_assertVectorFitsTopoInfo
    self.assertVectorFitsTopoInfo('bridges', V_UNIVAR_BRIDGES_TOPO)
  File "etc/python/grass/gunittest/case.py", line 308, in assertVectorFitsTopoInfo
    precision=0)
  File "etc/python/grass/gunittest/case.py", line 174, in assertModuleKeyValue
    self.runModule(module, expecting_stdout=True)
  File "etc/python/grass/gunittest/case.py", line 953, in runModule
    errors=errors)
CalledModuleError: Module run 1 v.info ended with error
Process ended with non-zero return code v.info(map='bridges', layer='1', flags=u't'). See the following errors:
ERROR: Vector map <bridges> not found

See available vector maps:
aree_edificate
aree_inondabili
aree_montane
autostrade
beni_ambientali
beni_urbanistici
confini_comunali
confini_provinciali
corine1990
edifici_osm
ferrovie
fiumi
galasso
isolinee
laghi
lst_2010_average_piemonte_box
natura2000_sic
natura2000_sir
natura2000_zps
parchi
punti_quotati
stazioni_ferroviarie
strade_comunali
strade_provinciali
strade_statali


======================================================================
ERROR: test_assertVectorFitsUnivar (__main__.TestVectorInfoAssertions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/gunittest/testsuite/test_assertions_vect.py", line 63, in test_assertVectorFitsUnivar
    precision=0.01)
  File "etc/python/grass/gunittest/case.py", line 393, in assertVectorFitsUnivar
    **parameters)
  File "etc/python/grass/gunittest/case.py", line 174, in assertModuleKeyValue
    self.runModule(module, expecting_stdout=True)
  File "etc/python/grass/gunittest/case.py", line 953, in runModule
    errors=errors)
CalledModuleError: Module run 1 v.univar ended with error
Process ended with non-zero return code v.univar(map='bridges', layer='1', type=['point', 'line', 'area'], column='WIDTH', percentile=90, flags=u'g'). See the following errors:
ERROR: Vector map <bridges> not found

See available vector maps:
aree_edificate
aree_inondabili
aree_montane
autostrade
beni_ambientali
beni_urbanistici
confini_comunali
confini_provinciali
corine1990
edifici_osm
ferrovie
fiumi
galasso
isolinee
laghi
lst_2010_average_piemonte_box
natura2000_sic
natura2000_sir
natura2000_zps
parchi
punti_quotati
stazioni_ferroviarie
strade_comunali
strade_provinciali
strade_statali


======================================================================
ERROR: test_assertVectorInfoEqualsVectorInfo (__main__.TestVectorInfoAssertions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/gunittest/testsuite/test_assertions_vect.py", line 115, in test_assertVectorInfoEqualsVectorInfo
    self.assertVectorInfoEqualsVectorInfo('bridges', 'bridges', precision=0.00000001)
  File "etc/python/grass/gunittest/case.py", line 354, in assertVectorInfoEqualsVectorInfo
    self.runModule(module)
  File "etc/python/grass/gunittest/case.py", line 953, in runModule
    errors=errors)
CalledModuleError: Module run 1 v.info ended with error
Process ended with non-zero return code v.info(map='bridges', layer='1', flags=u't'). See the following errors:
ERROR: Vector map <bridges> not found

See available vector maps:
aree_edificate
aree_inondabili
aree_montane
autostrade
beni_ambientali
beni_urbanistici
confini_comunali
confini_provinciali
corine1990
edifici_osm
ferrovie
fiumi
galasso
isolinee
laghi
lst_2010_average_piemonte_box
natura2000_sic
natura2000_sir
natura2000_zps
parchi
punti_quotati
stazioni_ferroviarie
strade_comunali
strade_provinciali
strade_statali


----------------------------------------------------------------------
Ran 11 tests in 1.997s
FAILED (errors=6)