(self)
| 412 | self.assertEqual(response.code, 500) |
| 413 | |
| 414 | def test_oauth10a_get_user(self): |
| 415 | response = self.fetch( |
| 416 | "/oauth10a/client/login?oauth_token=zxcv", |
| 417 | headers={"Cookie": "_oauth_request_token=enhjdg==|MTIzNA=="}, |
| 418 | ) |
| 419 | response.rethrow() |
| 420 | parsed = json_decode(response.body) |
| 421 | self.assertEqual(parsed["email"], "foo@example.com") |
| 422 | self.assertEqual(parsed["access_token"], dict(key="uiop", secret="5678")) |
| 423 | |
| 424 | def test_oauth10a_request_parameters(self): |
| 425 | response = self.fetch("/oauth10a/client/request_params") |
nothing calls this directly
no test coverage detected