diff options
Diffstat (limited to 'tests/cassettes/test_log_in_password_incorrect.yaml')
-rw-r--r-- | tests/cassettes/test_log_in_password_incorrect.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/cassettes/test_log_in_password_incorrect.yaml b/tests/cassettes/test_log_in_password_incorrect.yaml index df93fa0..bcdb42d 100644 --- a/tests/cassettes/test_log_in_password_incorrect.yaml +++ b/tests/cassettes/test_log_in_password_incorrect.yaml | |||
@@ -23,4 +23,28 @@ interactions: | |||
23 | X-Runtime: ['0.225810'] | 23 | X-Runtime: ['0.225810'] |
24 | content-length: ['240'] | 24 | content-length: ['240'] |
25 | status: {code: 401, message: Unauthorized} | 25 | status: {code: 401, message: Unauthorized} |
26 | - request: | ||
27 | body: password=hunter2&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&username=admin%40localhost%3A3000&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&scope=read+write+follow&grant_type=password&client_id=__MASTODON_PY_TEST_CLIENT_ID | ||
28 | headers: | ||
29 | Accept: ['*/*'] | ||
30 | Accept-Encoding: ['gzip, deflate'] | ||
31 | Connection: [keep-alive] | ||
32 | Content-Length: ['229'] | ||
33 | Content-Type: [application/x-www-form-urlencoded] | ||
34 | User-Agent: [python-requests/2.9.1] | ||
35 | method: POST | ||
36 | uri: http://localhost:3000/oauth/token | ||
37 | response: | ||
38 | body: {string: "{\"error\":\"invalid_grant\",\"error_description\":\"\u6307\u5B9A\u3055\u308C\u305F\u8A8D\u8A3C\u8A31\u53EF\u306F\u7121\u52B9\u3067\u3042\u308B\u304B\u3001\u671F\u9650\u5207\u308C\u3001\u53D6\u308A\u6D88\u3055\u308C\u3066\u3044\u308B\u3001\u30EA\u30C0\u30A4\u30EC\u30AF\u30C8URI\u306E\u4E0D\u4E00\u81F4\u3001\u307E\u305F\u306F\u5225\u306E\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u306B\u767A\u884C\u3055\u308C\u3066\u3044\u307E\u3059\u3002\"}"} | ||
39 | headers: | ||
40 | Cache-Control: [no-store] | ||
41 | Content-Type: [application/json; charset=utf-8] | ||
42 | Pragma: [no-cache] | ||
43 | Transfer-Encoding: [chunked] | ||
44 | Vary: ['Accept-Encoding, Origin'] | ||
45 | WWW-Authenticate: ["Bearer realm=\"Doorkeeper\", error=\"invalid_grant\", error_description=\"\xE6\x8C\x87\xE5\xAE\x9A\xE3\x81\x95\xE3\x82\x8C\xE3\x81\x9F\xE8\xAA\x8D\xE8\xA8\xBC\xE8\xA8\xB1\xE5\x8F\xAF\xE3\x81\xAF\xE7\x84\xA1\xE5\x8A\xB9\xE3\x81\xA7\xE3\x81\x82\xE3\x82\x8B\xE3\x81\x8B\xE3\x80\x81\xE6\x9C\x9F\xE9\x99\x90\xE5\x88\x87\xE3\x82\x8C\xE3\x80\x81\xE5\x8F\x96\xE3\x82\x8A\xE6\xB6\x88\xE3\x81\x95\xE3\x82\x8C\xE3\x81\xA6\xE3\x81\x84\xE3\x82\x8B\xE3\x80\x81\xE3\x83\xAA\xE3\x83\x80\xE3\x82\xA4\xE3\x83\xAC\xE3\x82\xAF\xE3\x83\x88URI\xE3\x81\xAE\xE4\xB8\x8D\xE4\xB8\x80\xE8\x87\xB4\xE3\x80\x81\xE3\x81\xBE\xE3\x81\x9F\xE3\x81\xAF\xE5\x88\xA5\xE3\x81\xAE\xE3\x82\xAF\xE3\x83\xA9\xE3\x82\xA4\xE3\x82\xA2\xE3\x83\xB3\xE3\x83\x88\xE3\x81\xAB\xE7\x99\xBA\xE8\xA1\x8C\xE3\x81\x95\xE3\x82\x8C\xE3\x81\xA6\xE3\x81\x84\xE3\x81\xBE\xE3\x81\x99\xE3\x80\x82\""] | ||
46 | X-Request-Id: [878b8226-1b8d-4912-b535-0b518be9cbad] | ||
47 | X-Runtime: ['0.204442'] | ||
48 | content-length: ['240'] | ||
49 | status: {code: 401, message: Unauthorized} | ||
26 | version: 1 | 50 | version: 1 |