(self, args, check_exit_code=True)
| 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 |
no outgoing calls
no test coverage detected