()
| 62 | |
| 63 | |
| 64 | def test_without_alg(): |
| 65 | sess = AssertionSession( |
| 66 | "https://provider.test/token", |
| 67 | grant_type=AssertionSession.JWT_BEARER_GRANT_TYPE, |
| 68 | issuer="foo", |
| 69 | subject="foo", |
| 70 | audience="foo", |
| 71 | key="secret", |
| 72 | ) |
| 73 | with pytest.raises(ValueError): |
| 74 | sess.get("https://provider.test") |
| 75 | |
| 76 | |
| 77 | def test_assertion_includes_default_jti(token): |
nothing calls this directly
no test coverage detected