Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BYVoid/OpenCC
/ _run_cli
Function
_run_cli
python/tests/test_cli.py:79–81 ·
view source on GitHub ↗
(monkeypatch, *args)
Source
from the content-addressed store, hash-verified
77
78
79
def
_run_cli(monkeypatch, *args):
80
monkeypatch.setattr(sys,
'argv'
, [
'opencc'
, *args])
81
opencc.cli.main()
82
83
84
def
_subprocess_env():
Callers
6
test_cli_skips_tofu_risk_dictionaries_by_default
Function · 0.85
test_cli_include_tofu_risk_dictionaries_flag
Function · 0.85
test_cli_rejects_same_input_and_output_file
Function · 0.85
test_cli_resource_zip_support
Function · 0.85
test_cli_builtin_config_stem_supports_omitting_json
Function · 0.85
test_cli_custom_config_path_without_json_extension
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected