❌ Test failed
Test | test_gmodules |
Testsuite | ./lib/python/gunittest |
Test file | ./lib/python/gunittest/testsuite/test_gmodules.py |
Status | FAILED |
Return code | 1 |
Number of tests | 9 |
Successful tests | 6 |
Failed tests | 3 |
Percent successful | 67% |
Test duration | 0:00:00.980223 |
EE...E... ====================================================================== ERROR: test_input_output (__main__.TestCallModuleFunction) ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/gunittest/testsuite/test_gmodules.py", line 29, in test_input_output output = call_module('m.proj', flags='i', input='-', stdin="50.0 41.5") File "etc/python/grass/gunittest/gmodules.py", line 131, in call_module raise CalledModuleError(returncode, module, kwargs, errors) CalledModuleError: Module run 1 m.proj ended with error Process ended with non-zero return code {'input': '-', 'stdin': -1, 'flags': 'i', 'stderr': -1, 'stdout': -1}. See the following errors: Traceback (most recent call last): File "scripts/m.proj", line 303, in <module> main() File "scripts/m.proj", line 135, in main if not grass.find_program('cs2cs'): NameError: global name 'grass' is not defined ====================================================================== ERROR: test_merge_stderr (__main__.TestCallModuleFunction) ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/gunittest/testsuite/test_gmodules.py", line 40, in test_merge_stderr merge_stderr=True) File "etc/python/grass/gunittest/gmodules.py", line 131, in call_module raise CalledModuleError(returncode, module, kwargs, errors) CalledModuleError: Module run 1 m.proj ended with error Process ended with non-zero return code {'verbose': True, 'stdout': -1, 'stdin': -1, 'flags': 'i', 'stderr': -2, 'input': '-'}. See errors in the (error) output. ====================================================================== ERROR: test_no_output (__main__.TestCallModuleFunction) ---------------------------------------------------------------------- Traceback (most recent call last): File "lib/python/gunittest/testsuite/test_gmodules.py", line 34, in test_no_output capture_stdout=False) File "etc/python/grass/gunittest/gmodules.py", line 131, in call_module raise CalledModuleError(returncode, module, kwargs, errors) CalledModuleError: Module run 1 m.proj ended with error Process ended with non-zero return code {'input': '-', 'stdin': -1, 'flags': 'i', 'stderr': -1}. See the following errors: Traceback (most recent call last): File "scripts/m.proj", line 303, in <module> main() File "scripts/m.proj", line 135, in main if not grass.find_program('cs2cs'): NameError: global name 'grass' is not defined ---------------------------------------------------------------------- Ran 9 tests in 0.149s FAILED (errors=3)