diff options
Diffstat (limited to 'tests/cassettes')
-rw-r--r-- | tests/cassettes/test_verify_credentials.yaml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/tests/cassettes/test_verify_credentials.yaml b/tests/cassettes/test_verify_credentials.yaml new file mode 100644 index 0000000..b694c7f --- /dev/null +++ b/tests/cassettes/test_verify_credentials.yaml | |||
@@ -0,0 +1,56 @@ | |||
1 | interactions: | ||
2 | - request: | ||
3 | body: null | ||
4 | headers: | ||
5 | Accept: ['*/*'] | ||
6 | Accept-Encoding: ['gzip, deflate'] | ||
7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
8 | Connection: [keep-alive] | ||
9 | User-Agent: [python-requests/2.18.4] | ||
10 | method: GET | ||
11 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | ||
12 | response: | ||
13 | body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":1,"statuses_count":2,"last_status_at":"2019-10-11T21:50:54.637Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} | ||
14 | headers: | ||
15 | Cache-Control: ['no-cache, no-store'] | ||
16 | Content-Type: [application/json; charset=utf-8] | ||
17 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
18 | Transfer-Encoding: [chunked] | ||
19 | Vary: ['Accept-Encoding, Origin'] | ||
20 | X-Content-Type-Options: [nosniff] | ||
21 | X-Download-Options: [noopen] | ||
22 | X-Frame-Options: [SAMEORIGIN] | ||
23 | X-Permitted-Cross-Domain-Policies: [none] | ||
24 | X-Request-Id: [8827e9e0-5d9c-4a85-a171-ac8e07b78716] | ||
25 | X-Runtime: ['0.075559'] | ||
26 | X-XSS-Protection: [1; mode=block] | ||
27 | content-length: ['724'] | ||
28 | status: {code: 200, message: OK} | ||
29 | - request: | ||
30 | body: null | ||
31 | headers: | ||
32 | Accept: ['*/*'] | ||
33 | Accept-Encoding: ['gzip, deflate'] | ||
34 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
35 | Connection: [keep-alive] | ||
36 | User-Agent: [python-requests/2.18.4] | ||
37 | method: GET | ||
38 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | ||
39 | response: | ||
40 | body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":1,"statuses_count":2,"last_status_at":"2019-10-11T21:50:54.637Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} | ||
41 | headers: | ||
42 | Cache-Control: ['no-cache, no-store'] | ||
43 | Content-Type: [application/json; charset=utf-8] | ||
44 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
45 | Transfer-Encoding: [chunked] | ||
46 | Vary: ['Accept-Encoding, Origin'] | ||
47 | X-Content-Type-Options: [nosniff] | ||
48 | X-Download-Options: [noopen] | ||
49 | X-Frame-Options: [SAMEORIGIN] | ||
50 | X-Permitted-Cross-Domain-Policies: [none] | ||
51 | X-Request-Id: [7b015ff5-ebbe-4cfe-a7a2-4ebfc946a566] | ||
52 | X-Runtime: ['0.024838'] | ||
53 | X-XSS-Protection: [1; mode=block] | ||
54 | content-length: ['724'] | ||
55 | status: {code: 200, message: OK} | ||
56 | version: 1 | ||