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

Function test_sarif_output_e2e

tests/test_outputs.py:384–391  ·  view source on GitHub ↗
(infile, fixtures)

Source from the content-addressed store, hash-verified

382))
383@pytest.mark.e2e
384def test_sarif_output_e2e(infile, fixtures):
385 schema_pth = fixtures.path("sarif-schema.json")
386
387 with open(schema_pth, "r") as fd:
388 schema = json.loads(fd.read())
389
390 output = fixtures.scan_test_file(infile, args=["-f", "sarif"])
391 jsonschema.validate(output, schema)
392
393
394

Callers

nothing calls this directly

Calls 3

pathMethod · 0.80
readMethod · 0.80
scan_test_fileMethod · 0.80

Tested by

no test coverage detected