(infile, fixtures)
| 382 | )) |
| 383 | @pytest.mark.e2e |
| 384 | def 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 |
nothing calls this directly
no test coverage detected