test.gjson.lib
Performs unit tests for the gjson library
test.gjson.lib [-u] [--verbose] [--quiet] [--qq] [--ui]
Example:
test.gjson.lib
grass.script.run_command("test.gjson.lib", flags=None, verbose=None, quiet=None, superquiet=None)
Example:
gs.run_command("test.gjson.lib")
grass.tools.Tools.test_gjson_lib( flags=None, verbose=None, quiet=None, superquiet=None)
Example:
tools = Tools()
tools.test_gjson_lib()
This grass.tools API is experimental in version 8.5 and expected to be stable in version 8.6.
Parameters
-u
Run all unit tests
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--qq
Very quiet module output
--ui
Force launching GUI dialog
flags : str, optional
Allowed values: u
u
Run all unit tests
verbose : bool, optional
Verbose module output
Default: None
quiet : bool, optional
Quiet module output
Default: None
superquiet : bool, optional
Very quiet module output
Default: None
flags : str, optional
Allowed values: u
u
Run all unit tests
verbose : bool, optional
Verbose module output
Default: None
quiet : bool, optional
Quiet module output
Default: None
superquiet : bool, optional
Very quiet module output
Default: None
Returns:
result : grass.tools.support.ToolResult | None
If the tool produces text as standard output, a ToolResult object will be returned. Otherwise, None will be returned.
Raises:
grass.tools.ToolError: When the tool ended with an error.
DESCRIPTION
test.gjson.lib is a module dedicated for testing the gjson library. This module is used by the testing framework to perform library tests.
AUTHOR
Nishant Bansal
SOURCE CODE
Available at: test.gjson.lib source code
(history)
Latest change: Thursday Oct 02 14:39:13 2025 in commit 1850489