MCPcopy 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
79def _run_cli(monkeypatch, *args):
80 monkeypatch.setattr(sys, 'argv', ['opencc', *args])
81 opencc.cli.main()
82
83
84def _subprocess_env():

Calls

no outgoing calls

Tested by

no test coverage detected