MCPcopy Index your code
hub / github.com/SourceCode-AI/aura / get_cli_output

Method get_cli_output

tests/conftest.py:104–118  ·  view source on GitHub ↗
(self, args, check_exit_code=True)

Source from the content-addressed store, hash-verified

102 return result
103
104 def get_cli_output(self, args, check_exit_code=True) -> Result:
105 global cli
106 if cli is None:
107 from aura import cli
108
109 runner = CliRunner(mix_stderr=False)
110 result = runner.invoke(cli.cli, args=args)
111
112 if result.exception and (type(result.exception) != SystemExit or check_exit_code):
113 raise result.exception
114
115 if check_exit_code:
116 assert result.exit_code == 0, (result.stdout, result.stderr)
117
118 return result
119
120 def get_raw_ast(self, src):
121 from aura import python_executor

Callers 10

scan_test_fileMethod · 0.95
test_mirror_cacheFunction · 0.80
test_info_commandFunction · 0.80
test_ast_parserFunction · 0.80
test_sqlite_scan_outputFunction · 0.80
test_non_existingFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected