(r, **kwargs)
| 23 | |
| 24 | def test_refresh_token(token): |
| 25 | def verifier(r, **kwargs): |
| 26 | resp = mock.MagicMock() |
| 27 | resp.status_code = 200 |
| 28 | if r.url == "https://provider.test/token": |
| 29 | assert "assertion=" in r.body |
| 30 | resp.json = lambda: token |
| 31 | return resp |
| 32 | |
| 33 | sess = AssertionSession( |
| 34 | "https://provider.test/token", |
nothing calls this directly
no outgoing calls
no test coverage detected