(self)
| 210 | assert fires(code, "JWT001"), "JWT001 must fire: algorithms=['none']" |
| 211 | |
| 212 | def test_valid_decode_safe(self): |
| 213 | code = "payload = jwt.decode(token, secret, algorithms=['HS256'])" |
| 214 | assert not_fires(code, "JWT001"), "JWT001 must NOT fire for valid HS256 decode" |
| 215 | |
| 216 | |
| 217 | # ============================================================ |
nothing calls this directly
no test coverage detected