(token)
| 295 | |
| 296 | |
| 297 | def test_mis_match_state(token): |
| 298 | sess = OAuth2Session("foo") |
| 299 | with pytest.raises(MismatchingStateException): |
| 300 | sess.fetch_token( |
| 301 | "https://provider.test/token", |
| 302 | authorization_response="https://provider.test/no-state?code=abc", |
| 303 | state="somestate", |
| 304 | ) |
| 305 | |
| 306 | |
| 307 | def test_token_status(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…