❌ Test failed
Test | test_extract |
Testsuite | ./vector/v.extract |
Test file | ./vector/v.extract/testsuite/test_extract.py |
Status | FAILED |
Return code | 1 |
Number of tests | 5 |
Successful tests | 2 |
Failed tests | 3 |
Percent successful | 40% |
Test duration | 0:00:01.736534 |
Tested modules | v.extract |
/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated. Define doctype() method on the TreeBuilder target. DeprecationWarning, FF..F ====================================================================== FAIL: test_cats2 (__main__.TestRasterreport) Testing cats=2 ---------------------------------------------------------------------- Traceback (most recent call last): File "vector/v.extract/testsuite/test_extract.py", line 73, in test_cats2 msg="Attribute table has wrong entries") AssertionError: Attribute table has wrong entries 'cat|onemap_pro|PERIMETER|GEOL250_|GEOL250_ID|GEO_NAME|SHAPE_area|SHAPE_len\n1|9 [truncated]... != 'cat|CLASSE|DESC_UNLIT|CLASSE_INT\n1|11|Calcescisti. (Zona Piemontese, Giurassic [truncated]... - cat|onemap_pro|PERIMETER|GEOL250_|GEOL250_ID|GEO_NAME|SHAPE_area|SHAPE_len - 1|963738.75|4083.97998|2|1|Zml|963738.608571|4083.979839 - 2|22189124|26628.261719|3|2|Zmf|22189123.2296|26628.261112 - 3|579286.875|3335.55835|4|3|Zml|579286.829631|3335.557182 - 4|20225526|33253|5|4|Zml|20225526.6368|33253.000508 - 5|450650720|181803.765625|6|5|Ybgg|450650731.029|181803.776199 + cat|CLASSE|DESC_UNLIT|CLASSE_INT + 1|11|Calcescisti. (Zona Piemontese, Giurassico-Cretaceo)|11 + 2|13|Gneiss minuti. (Massicci del Dora-Maira, Sesia-Lanzo)|13 + 3|12|Dolomie e calcari. (Unita` Mesozoiche)|12 + 4|11|Calcescisti. (Zona Piemontese, Giurassico-Cretaceo)|11 + 5|11|Calcescisti. (Zona Piemontese, Giurassico-Cretaceo)|11 ====================================================================== FAIL: test_flagd (__main__.TestRasterreport) Testing flag d ---------------------------------------------------------------------- Traceback (most recent call last): File "vector/v.extract/testsuite/test_extract.py", line 64, in test_flagd msg="Attribute table has wrong entries") AssertionError: Attribute table has wrong entries 'cat|MAJORRDS_|ROAD_NAME|MULTILANE|PROPYEAR|OBJECTID|SHAPE_LEN\n1|1|NC-50|no|0|1 [truncated]... != "cat|PATR|NOME\n1|R|SR 229 DEL LAGO D'ORTA\n2|R|SR 229 DEL LAGO D'ORTA\n3|R|SR 1 [truncated]... - cat|MAJORRDS_|ROAD_NAME|MULTILANE|PROPYEAR|OBJECTID|SHAPE_LEN - 1|1|NC-50|no|0|1|4825.369405 - 2|2|NC-50|no|0|2|14392.589058 - 3|3|NC-98|no|0|3|3212.981242 - 4|4|NC-50|no|0|4|13391.907552 + cat|PATR|NOME + 1|R|SR 229 DEL LAGO D'ORTA + 2|R|SR 229 DEL LAGO D'ORTA + 3|R|SR 142 BIELLESE + 4|R|SR 142 BIELLESE ====================================================================== FAIL: test_where (__main__.TestRasterreport) Testing where ---------------------------------------------------------------------- Traceback (most recent call last): File "vector/v.extract/testsuite/test_extract.py", line 91, in test_where msg="Attribute table has wrong entries") AssertionError: Attribute table has wrong entries 'cat|MAJORRDS_|ROAD_NAME|MULTILANE|PROPYEAR|OBJECTID|SHAPE_LEN\n1|1|NC-50|no|0|1 [truncated]... != "cat|PATR|NOME\n1|R|SR 229 DEL LAGO D'ORTA\n2|R|SR 229 DEL LAGO D'ORTA\n3|R|SR 1 [truncated]... - cat|MAJORRDS_|ROAD_NAME|MULTILANE|PROPYEAR|OBJECTID|SHAPE_LEN - 1|1|NC-50|no|0|1|4825.369405 - 2|2|NC-50|no|0|2|14392.589058 - 3|3|NC-98|no|0|3|3212.981242 - 4|4|NC-50|no|0|4|13391.907552 - 5|5|NC-98|no|0|5|7196.001495 - 6|6||no|0|6|10185.513951 - 7|7|US-1|yes|0|7|13655.438596 - 8|8||no|0|8|797.901095 - 9|9|NC-98|no|0|9|14772.176241 + cat|PATR|NOME + 1|R|SR 229 DEL LAGO D'ORTA + 2|R|SR 229 DEL LAGO D'ORTA + 3|R|SR 142 BIELLESE + 4|R|SR 142 BIELLESE + 5|R|SR 229 DEL LAGO D'ORTA + 6|S|SS 231 + 7|S|SS 26 + 8|S|SS 26 + 9|R|SR 457 DI MONCALVO ---------------------------------------------------------------------- Ran 5 tests in 1.124s FAILED (failures=3)