test_every_git_invocation_disarms_the_inspected_trees_config¶
Tests › tests/test_security_surface.py
What this test is for
tests/test_security_surface.py:90 · its file's page
What it checks (1)
assert not offenders, ("these git calls bypass gitenv.git_argv, so the inspected repository's own .git/config " f"can make git run a command of its choosing: {offenders}" )
Where the product reaches it
No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.
Call flow
test_every_git_invocation_disarms_the_inspected_trees_config→_subprocess_callsWhat it reaches
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Requirements it verifies (1)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-PIPE-014 | catalog | unknown |