()
| 12 | |
| 13 | |
| 14 | def test_init_algorithms(): |
| 15 | _jwt = JsonWebToken(["RS256"]) |
| 16 | with pytest.raises(UnsupportedAlgorithmError): |
| 17 | _jwt.encode({"alg": "HS256"}, {}, "k") |
| 18 | |
| 19 | _jwt = JsonWebToken("RS256") |
| 20 | with pytest.raises(UnsupportedAlgorithmError): |
| 21 | _jwt.encode({"alg": "HS256"}, {}, "k") |
| 22 | |
| 23 | |
| 24 | def test_encode_sensitive_data(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…