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

Function test_gitlab_sast_output_e2e

tests/test_outputs.py:366–373  ·  view source on GitHub ↗
(fixtures)

Source from the content-addressed store, hash-verified

364@pytest.mark.skipif(jsonschema is None, reason="jsonschema module is not installed")
365@pytest.mark.e2e
366def test_gitlab_sast_output_e2e(fixtures):
367 schema_pth = fixtures.path("gitlab-sast-schema.json")
368
369 with open(schema_pth, "r") as fd:
370 schema = json.loads(fd.read())
371
372 output = fixtures.scan_test_file("flask_app.py", args=["-f", "gitlab-sast"])
373 jsonschema.validate(output, schema)
374
375
376@pytest.mark.skipif(jsonschema is None, reason="jsonschema module is not installed")

Callers

nothing calls this directly

Calls 3

pathMethod · 0.80
readMethod · 0.80
scan_test_fileMethod · 0.80

Tested by

no test coverage detected