diff options
author | Lorenz Diener <[email protected]> | 2018-07-14 01:07:26 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-07-14 01:07:26 +0200 |
commit | 65b1f41e65d5f20136de0bd01f154ecf4134eaf8 (patch) | |
tree | 6cb000bf369c5eda54f3ce4dcc5636437a20e9e0 /tests/cassettes/test_log_in_password_to_file.yaml | |
parent | 91de8ca061524712cae1d1b327cc2b2881c37548 (diff) | |
download | mastodon.py-65b1f41e65d5f20136de0bd01f154ecf4134eaf8.tar.gz |
Rerun all tests
Diffstat (limited to 'tests/cassettes/test_log_in_password_to_file.yaml')
-rw-r--r-- | tests/cassettes/test_log_in_password_to_file.yaml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/cassettes/test_log_in_password_to_file.yaml b/tests/cassettes/test_log_in_password_to_file.yaml index beb510d..3234e5c 100644 --- a/tests/cassettes/test_log_in_password_to_file.yaml +++ b/tests/cassettes/test_log_in_password_to_file.yaml | |||
@@ -7,21 +7,21 @@ interactions: | |||
7 | Connection: [keep-alive] | 7 | Connection: [keep-alive] |
8 | Content-Length: ['240'] | 8 | Content-Length: ['240'] |
9 | Content-Type: [application/x-www-form-urlencoded] | 9 | Content-Type: [application/x-www-form-urlencoded] |
10 | User-Agent: [python-requests/2.9.1] | 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":1528235923}'} | 15 | write follow push","created_at":1531522945}'} |
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/"cc25e2976ca697cb47cef30679fcfb2b"] | 19 | ETag: [W/"e0346ca8a59433fde8f5957fe39eb6dc"] |
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: [9046b6b9-335b-4a90-a6ae-f2c7e7156517] | 23 | X-Request-Id: [eb3a4ace-3b21-4d8e-bd96-c7bcd76616d1] |
24 | X-Runtime: ['0.360631'] | 24 | X-Runtime: ['0.061632'] |
25 | content-length: ['131'] | 25 | content-length: ['131'] |
26 | status: {code: 200, message: OK} | 26 | status: {code: 200, message: OK} |
27 | - request: | 27 | - request: |
@@ -31,15 +31,15 @@ interactions: | |||
31 | Accept-Encoding: ['gzip, deflate'] | 31 | Accept-Encoding: ['gzip, deflate'] |
32 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | 32 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] |
33 | Connection: [keep-alive] | 33 | Connection: [keep-alive] |
34 | User-Agent: [python-requests/2.9.1] | 34 | User-Agent: [python-requests/2.18.4] |
35 | method: GET | 35 | method: GET |
36 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 36 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
37 | response: | 37 | response: |
38 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"source":{"privacy":"public","sensitive":false,"note":"","fields":[]},"emojis":[],"fields":[]}'} | 38 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":5,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} |
39 | headers: | 39 | headers: |
40 | Cache-Control: ['max-age=0, private, must-revalidate'] | 40 | Cache-Control: ['max-age=0, private, must-revalidate'] |
41 | Content-Type: [application/json; charset=utf-8] | 41 | Content-Type: [application/json; charset=utf-8] |
42 | ETag: [W/"0ee436ed2b0f9849d919bf852fd3cdaa"] | 42 | ETag: [W/"73de19f2cc51d2a5890e565187c1055c"] |
43 | Referrer-Policy: [strict-origin-when-cross-origin] | 43 | Referrer-Policy: [strict-origin-when-cross-origin] |
44 | Transfer-Encoding: [chunked] | 44 | Transfer-Encoding: [chunked] |
45 | Vary: ['Accept-Encoding, Origin'] | 45 | Vary: ['Accept-Encoding, Origin'] |
@@ -47,9 +47,9 @@ interactions: | |||
47 | X-Download-Options: [noopen] | 47 | X-Download-Options: [noopen] |
48 | X-Frame-Options: [SAMEORIGIN] | 48 | X-Frame-Options: [SAMEORIGIN] |
49 | X-Permitted-Cross-Domain-Policies: [none] | 49 | X-Permitted-Cross-Domain-Policies: [none] |
50 | X-Request-Id: [a6ea51ee-07d5-4f6d-a1de-9e983c9ec98f] | 50 | X-Request-Id: [f06bc415-d137-4bbb-af3d-6f48292fed7a] |
51 | X-Runtime: ['0.996245'] | 51 | X-Runtime: ['0.016793'] |
52 | X-XSS-Protection: [1; mode=block] | 52 | X-XSS-Protection: [1; mode=block] |
53 | content-length: ['618'] | 53 | content-length: ['634'] |
54 | status: {code: 200, message: OK} | 54 | status: {code: 200, message: OK} |
55 | version: 1 | 55 | version: 1 |