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

Function test_text_scan_output_e2e

tests/test_outputs.py:98–109  ·  view source on GitHub ↗

Test different output formats

(fixtures)

Source from the content-addressed store, hash-verified

96
97@pytest.mark.e2e
98def test_text_scan_output_e2e(fixtures):
99 """
100 Test different output formats
101 """
102 scan_path = fixtures.path('flask_app.py')
103
104 # Test plain text output
105 cli = fixtures.get_cli_output(['scan', scan_path, '--format', 'text'])
106 output = cli.output
107 assert 'Scan results for ' in output
108 assert 'Scan score: ' in output
109 # TODO: add more patterns to test for in text output
110
111
112def test_sqlite_scan_output(fixtures, tmp_path: Path):

Callers

nothing calls this directly

Calls 2

pathMethod · 0.80
get_cli_outputMethod · 0.80

Tested by

no test coverage detected