test_start_command_functions_nc

./lib/python/script – test_start_command_functions_nc

Test failed

Testtest_start_command_functions_nc
Testsuite./lib/python/script
Test file./lib/python/script/testsuite/test_start_command_functions_nc.py
StatusFAILED
Return code1
Number of tests3
Successful tests1
Failed tests2
Percent successful33%
Test duration0:00:01.199135

Supplementary files

Standard error output (stderr)

etc/python/grass/lib/gis.py:801: DeprecationWarning: classic int division
  ('__val', c_ulong * (1024 / (8 * sizeof(c_ulong)))),
WARNING: To run the module <g.region> add underscore at the end of the option <raster_> to avoid conflict with Python keywords. Underscore at the beginning is depreciated in GRASS GIS 7.0 and will be removed in version 7.1.
.WARNING: To run the module <g.region> add underscore at the end of the option <raster> to avoid conflict with Python keywords. Underscore at the beginning is depreciated in GRASS GIS 7.0 and will be removed in version 7.1.
FF
======================================================================
FAIL: test_prefixed_underscore (__main__.TestPythonKeywordsInParameters)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/script/testsuite/test_start_command_functions_nc.py", line 31, in test_prefixed_underscore
    msg="Underscore as prefix was not accepted")
AssertionError: Underscore as prefix was not accepted 
1 != 0

======================================================================
FAIL: test_suffixed_underscore (__main__.TestPythonKeywordsInParameters)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib/python/script/testsuite/test_start_command_functions_nc.py", line 40, in test_suffixed_underscore
    msg="Underscore as suffix was not accepted, stderr is:\n%s" % stderr)
AssertionError: Underscore as suffix was not accepted, stderr is:
ERROR: Raster map <elevation> not found
 
1 != 0

----------------------------------------------------------------------
Ran 3 tests in 0.195s
FAILED (failures=2)