diff options
Diffstat (limited to 'tests/cassettes/test_log_in_password.yaml')
-rw-r--r-- | tests/cassettes/test_log_in_password.yaml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/cassettes/test_log_in_password.yaml b/tests/cassettes/test_log_in_password.yaml index d220e32..b270108 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: !!python/unicode username=admin%40localhost%3A3000&password=mastodonadmin&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&client_id=__MASTODON_PY_TEST_CLIENT_ID&scope=read+write+follow&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&grant_type=password | 3 | body: scope=read+write+follow&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&client_id=__MASTODON_PY_TEST_CLIENT_ID&username=admin%40localhost%3A3000&grant_type=password&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&password=mastodonadmin |
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: ['235'] | 8 | Content-Length: ['235'] |
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.9.1] |
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: !!python/unicode '{"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","created_at":1511992220}'} | 15 | write follow","created_at":1524081846}'} |
16 | headers: | 16 | headers: |
17 | cache-control: [no-store] | 17 | Cache-Control: [no-store] |
18 | Content-Type: [application/json; charset=utf-8] | ||
19 | ETag: [W/"11dc394be082c3b6b7c1fbf6f3bc648b"] | ||
20 | Pragma: [no-cache] | ||
21 | Transfer-Encoding: [chunked] | ||
22 | Vary: ['Accept-Encoding, Origin'] | ||
23 | X-Request-Id: [d8c4e659-5dde-4478-b4e7-dc57cd48e16b] | ||
24 | X-Runtime: ['0.139868'] | ||
18 | content-length: ['126'] | 25 | content-length: ['126'] |
19 | content-type: [application/json; charset=utf-8] | ||
20 | etag: [W/"7f19440d01a73bd9685be7280866fa5b"] | ||
21 | pragma: [no-cache] | ||
22 | transfer-encoding: [chunked] | ||
23 | vary: ['Accept-Encoding, Origin'] | ||
24 | x-request-id: [d33af1b6-ae04-495f-9a8c-720b570e98a9] | ||
25 | x-runtime: ['0.244819'] | ||
26 | status: {code: 200, message: OK} | 26 | status: {code: 200, message: OK} |
27 | version: 1 | 27 | version: 1 |