test_assertions_vect

./lib/python/gunittest – test_assertions_vect

Test failed

Testtest_assertions_vect
Testsuite./lib/python/gunittest
Test file./lib/python/gunittest/testsuite/test_assertions_vect.py
StatusFAILED
Return code1
Number of tests11
Successful tests5
Failed tests6
Percent successful45%
Test duration0:00:02.932275

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,
.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 149, in test_assertVectorEqualsVector_basic
    precision=0.01, digits=15)
  File "etc/python/grass/gunittest/case.py", line 937, in assertVectorEqualsVector
    self.assertVectorInfoEqualsVectorInfo(actual=actual, reference=reference, precision=precision, msg=msg)
  File "etc/python/grass/gunittest/case.py", line 405, in assertVectorInfoEqualsVectorInfo
    self.runModule(module)
  File "etc/python/grass/gunittest/case.py", line 1094, in runModule
    errors=errors)
CalledModuleError: Module run 1 v.info ended with error
Process ended with non-zero return code v.info(map='schools', layer='1', flags=u't'). See the following errors:
ERROR: Vector map <schools> 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
simple_vector_map_imported_base
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 102, in test_assertVectorFitsExtendedInfo
    self.assertVectorFitsExtendedInfo('schools', V_UNIVAR_SCHOOLS_EXTENDED)
  File "etc/python/grass/gunittest/case.py", line 395, in assertVectorFitsExtendedInfo
    precision=0)
  File "etc/python/grass/gunittest/case.py", line 225, in assertModuleKeyValue
    self.runModule(module, expecting_stdout=True)
  File "etc/python/grass/gunittest/case.py", line 1094, in runModule
    errors=errors)
CalledModuleError: Module run 1 v.info ended with error
Process ended with non-zero return code v.info(map='schools', layer='1', flags=u'e'). See the following errors:
ERROR: Vector map <schools> 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 90, in test_assertVectorFitsRegionInfo
    self.assertVectorFitsRegionInfo('schools', V_UNIVAR_SCHOOLS_REGION, precision=1.0)
  File "etc/python/grass/gunittest/case.py", line 374, in assertVectorFitsRegionInfo
    precision=precision)
  File "etc/python/grass/gunittest/case.py", line 225, in assertModuleKeyValue
    self.runModule(module, expecting_stdout=True)
  File "etc/python/grass/gunittest/case.py", line 1094, in runModule
    errors=errors)
CalledModuleError: Module run 1 v.info ended with error
Process ended with non-zero return code v.info(map='schools', layer='1', flags=u'g'). See the following errors:
ERROR: Vector map <schools> 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 77, in test_assertVectorFitsTopoInfo
    self.assertVectorFitsTopoInfo('schools', V_UNIVAR_SCHOOLS_TOPO)
  File "etc/python/grass/gunittest/case.py", line 359, in assertVectorFitsTopoInfo
    precision=0)
  File "etc/python/grass/gunittest/case.py", line 225, in assertModuleKeyValue
    self.runModule(module, expecting_stdout=True)
  File "etc/python/grass/gunittest/case.py", line 1094, in runModule
    errors=errors)
CalledModuleError: Module run 1 v.info ended with error
Process ended with non-zero return code v.info(map='schools', layer='1', flags=u't'). See the following errors:
ERROR: Vector map <schools> 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 65, in test_assertVectorFitsUnivar
    precision=0.01)
  File "etc/python/grass/gunittest/case.py", line 444, in assertVectorFitsUnivar
    **parameters)
  File "etc/python/grass/gunittest/case.py", line 225, in assertModuleKeyValue
    self.runModule(module, expecting_stdout=True)
  File "etc/python/grass/gunittest/case.py", line 1094, in runModule
    errors=errors)
CalledModuleError: Module run 1 v.univar ended with error
Process ended with non-zero return code v.univar(map='schools', layer='1', type=['point', 'line', 'area'], column='CORECAPACI', percentile=90, flags=u'g'). See the following errors:
ERROR: Vector map <schools> 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 117, in test_assertVectorInfoEqualsVectorInfo
    self.assertVectorInfoEqualsVectorInfo('schools', 'schools', precision=0.00000001)
  File "etc/python/grass/gunittest/case.py", line 405, in assertVectorInfoEqualsVectorInfo
    self.runModule(module)
  File "etc/python/grass/gunittest/case.py", line 1094, in runModule
    errors=errors)
CalledModuleError: Module run 1 v.info ended with error
Process ended with non-zero return code v.info(map='schools', layer='1', flags=u't'). See the following errors:
ERROR: Vector map <schools> 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 2.042s
FAILED (errors=6)