You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: parametrize the Allow header check to keep 100% branch coverage
The strict ``fail-under=100`` coverage gate on this repository counts
branch coverage, and the previous ``if expected_status == 405:`` guard
inside the parametrized test added an untaken branch on the 400 rows
(which coverage reports as ``477->exit`` = 99.99% total).
Fold the header check into the parametrize rows via a new
``expected_allow_header`` column and assert unconditionally: the 405
rows expect ``"GET, POST, DELETE"``, the 400 rows expect the header to
be absent (``None``). Same coverage of the manager code, no dead branch
inside the test.
0 commit comments