diff options
Diffstat (limited to 'tests/cassettes/test_log_in_password.yaml')
-rw-r--r-- | tests/cassettes/test_log_in_password.yaml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/cassettes/test_log_in_password.yaml b/tests/cassettes/test_log_in_password.yaml index 6b34a9d..1f0eee9 100644 --- a/tests/cassettes/test_log_in_password.yaml +++ b/tests/cassettes/test_log_in_password.yaml | |||
@@ -1,27 +1,27 @@ | |||
1 | interactions: | 1 | interactions: |
2 | - request: | 2 | - request: |
3 | body: redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&password=mastodonadmin&username=admin%40localhost%3A3000&grant_type=password&client_id=__MASTODON_PY_TEST_CLIENT_ID&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&scope=read+write+follow+push | 3 | body: redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&password=mastodonadmin&username=admin%40localhost&grant_type=password&client_id=__MASTODON_PY_TEST_CLIENT_ID&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&scope=read+write+follow+push |
4 | headers: | 4 | headers: |
5 | Accept: ['*/*'] | 5 | Accept: ['*/*'] |
6 | Accept-Encoding: ['gzip, deflate'] | 6 | Accept-Encoding: ['gzip, deflate'] |
7 | Connection: [keep-alive] | 7 | Connection: [keep-alive] |
8 | Content-Length: ['240'] | 8 | Content-Length: ['233'] |
9 | Content-Type: [application/x-www-form-urlencoded] | 9 | Content-Type: [application/x-www-form-urlencoded] |
10 | User-Agent: [python-requests/2.18.4] | 10 | User-Agent: [python-requests/2.18.4] |
11 | method: POST | 11 | method: POST |
12 | uri: http://localhost:3000/oauth/token | 12 | uri: http://localhost:3000/oauth/token |
13 | response: | 13 | response: |
14 | body: {string: '{"access_token":"__MASTODON_PY_TEST_ACCESS_TOKEN_2","token_type":"Bearer","scope":"read | 14 | body: {string: '{"access_token":"__MASTODON_PY_TEST_ACCESS_TOKEN_2","token_type":"Bearer","scope":"read |
15 | write follow push","created_at":1556398580}'} | 15 | write follow push","created_at":1561214788}'} |
16 | headers: | 16 | headers: |
17 | Cache-Control: ['private, no-store'] | 17 | Cache-Control: ['private, no-store'] |
18 | Content-Type: [application/json; charset=utf-8] | 18 | Content-Type: [application/json; charset=utf-8] |
19 | ETag: [W/"e07660394b0fd53ff74e0468c46350d6"] | 19 | ETag: [W/"24c702c892d562d104453293f6d8ab58"] |
20 | Pragma: [no-cache] | 20 | Pragma: [no-cache] |
21 | Transfer-Encoding: [chunked] | 21 | Transfer-Encoding: [chunked] |
22 | Vary: ['Accept-Encoding, Origin'] | 22 | Vary: ['Accept-Encoding, Origin'] |
23 | X-Request-Id: [df01a2d8-3f43-420d-8e4c-bbb0c36c858f] | 23 | X-Request-Id: [822a2b34-22bb-4d4b-bd07-30e59588c242] |
24 | X-Runtime: ['0.081349'] | 24 | X-Runtime: ['0.070731'] |
25 | content-length: ['131'] | 25 | content-length: ['131'] |
26 | status: {code: 200, message: OK} | 26 | status: {code: 200, message: OK} |
27 | version: 1 | 27 | version: 1 |