❌ Test failed
Test | test_vwhat_layers |
Testsuite | ./vector/v.what |
Test file | ./vector/v.what/testsuite/test_vwhat_layers.py |
Status | FAILED |
Return code | 1 |
Number of tests | 4 |
Successful tests | 0 |
Failed tests | 4 |
Percent successful | 0% |
Test duration | 0:00:01.886884 |
Tested modules | v.what |
/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated. Define doctype() method on the TreeBuilder target. DeprecationWarning, EEFE ====================================================================== ERROR: test_print_options (__main__.TestMultiLayerMap) ---------------------------------------------------------------------- Traceback (most recent call last): File "vector/v.what/testsuite/test_vwhat_layers.py", line 185, in test_print_options self.assertModule(self.vwhat) File "etc/python/grass/gunittest/case.py", line 1165, in assertModule print(module.outputs.stdout) UnicodeEncodeError: 'ascii' codec can't encode characters in position 616-617: ordinal not in range(128) ====================================================================== ERROR: test_print_options_json (__main__.TestMultiLayerMap) ---------------------------------------------------------------------- Traceback (most recent call last): File "vector/v.what/testsuite/test_vwhat_layers.py", line 196, in test_print_options_json self.assertModule(self.vwhat) File "etc/python/grass/gunittest/case.py", line 1165, in assertModule print(module.outputs.stdout) UnicodeEncodeError: 'ascii' codec can't encode characters in position 722-723: ordinal not in range(128) ====================================================================== ERROR: test_selected_layers (__main__.TestMultiLayerMap) ---------------------------------------------------------------------- Traceback (most recent call last): File "vector/v.what/testsuite/test_vwhat_layers.py", line 206, in test_selected_layers self.assertModule(self.vwhat) File "etc/python/grass/gunittest/case.py", line 1165, in assertModule print(module.outputs.stdout) UnicodeEncodeError: 'ascii' codec can't encode characters in position 522-523: ordinal not in range(128) ====================================================================== FAIL: test_run (__main__.TestMultiLayerMap) ---------------------------------------------------------------------- Traceback (most recent call last): File "vector/v.what/testsuite/test_vwhat_layers.py", line 181, in test_run self.assertLooksLike(reference=out1, actual=self.vwhat.outputs.stdout) File "etc/python/grass/gunittest/case.py", line 188, in assertLooksLike 'actual argument is not a string')) AssertionError: actual argument is not a string False is not true ---------------------------------------------------------------------- Ran 4 tests in 1.255s FAILED (failures=1, errors=3)