diff options
author | Lorenz Diener <[email protected]> | 2018-05-06 03:02:19 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-05-06 03:02:19 +0200 |
commit | bb92f76e61063bbe59868659fb42824d3649c7b2 (patch) | |
tree | 3977c4da17684c323ecb2c0b07f366daa532c6ac /tests/cassettes/test_status_favourited_by.yaml | |
parent | 3676e43f1198bb0cf57bfd68e5c553d927597a62 (diff) | |
download | mastodon.py-bb92f76e61063bbe59868659fb42824d3649c7b2.tar.gz |
Refresh casettes and add some new ones
Diffstat (limited to 'tests/cassettes/test_status_favourited_by.yaml')
-rw-r--r-- | tests/cassettes/test_status_favourited_by.yaml | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/tests/cassettes/test_status_favourited_by.yaml b/tests/cassettes/test_status_favourited_by.yaml index 86ff947..2ff6d5a 100644 --- a/tests/cassettes/test_status_favourited_by.yaml +++ b/tests/cassettes/test_status_favourited_by.yaml | |||
@@ -12,22 +12,22 @@ interactions: | |||
12 | method: POST | 12 | method: POST |
13 | uri: http://localhost:3000/api/v1/statuses | 13 | uri: http://localhost:3000/api/v1/statuses |
14 | response: | 14 | response: |
15 | body: {string: '{"id":"99979314847728053","created_at":"2018-05-05T23:34:35.909Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99979314847728053","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979314847728053","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 15 | body: {string: '{"id":"99979652003697194","created_at":"2018-05-06T01:00:20.517Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99979652003697194","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979652003697194","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
16 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 16 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
17 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI | 17 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI |
18 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":128},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 18 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":131},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} |
19 | headers: | 19 | headers: |
20 | Cache-Control: ['max-age=0, private, must-revalidate'] | 20 | Cache-Control: ['max-age=0, private, must-revalidate'] |
21 | Content-Type: [application/json; charset=utf-8] | 21 | Content-Type: [application/json; charset=utf-8] |
22 | ETag: [W/"f9e258fde7d630e10fb0815fa107ea04"] | 22 | ETag: [W/"acf6908aaa90ccd8bc6b74dbbac6085d"] |
23 | Transfer-Encoding: [chunked] | 23 | Transfer-Encoding: [chunked] |
24 | Vary: ['Accept-Encoding, Origin'] | 24 | Vary: ['Accept-Encoding, Origin'] |
25 | X-Content-Type-Options: [nosniff] | 25 | X-Content-Type-Options: [nosniff] |
26 | X-Frame-Options: [SAMEORIGIN] | 26 | X-Frame-Options: [SAMEORIGIN] |
27 | X-Request-Id: [a7689a71-73ba-4b84-a4ef-f52ae80fc546] | 27 | X-Request-Id: [873d5071-733a-45c0-a56e-b2d80f00a548] |
28 | X-Runtime: ['0.371517'] | 28 | X-Runtime: ['0.327392'] |
29 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
30 | content-length: ['1398'] | 30 | content-length: ['1402'] |
31 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
32 | - request: | 32 | - request: |
33 | body: null | 33 | body: null |
@@ -39,24 +39,24 @@ interactions: | |||
39 | Content-Length: ['0'] | 39 | Content-Length: ['0'] |
40 | User-Agent: [python-requests/2.9.1] | 40 | User-Agent: [python-requests/2.9.1] |
41 | method: POST | 41 | method: POST |
42 | uri: http://localhost:3000/api/v1/statuses/99979314847728053/favourite | 42 | uri: http://localhost:3000/api/v1/statuses/99979652003697194/favourite |
43 | response: | 43 | response: |
44 | body: {string: '{"id":"99979314847728053","created_at":"2018-05-05T23:34:35.909Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99979314847728053","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979314847728053","reblogs_count":0,"favourites_count":1,"favourited":true,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | 44 | body: {string: '{"id":"99979652003697194","created_at":"2018-05-06T01:00:20.517Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99979652003697194","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979652003697194","reblogs_count":0,"favourites_count":1,"favourited":true,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py |
45 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 45 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
46 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI | 46 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI |
47 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":126},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | 47 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":129},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} |
48 | headers: | 48 | headers: |
49 | Cache-Control: ['max-age=0, private, must-revalidate'] | 49 | Cache-Control: ['max-age=0, private, must-revalidate'] |
50 | Content-Type: [application/json; charset=utf-8] | 50 | Content-Type: [application/json; charset=utf-8] |
51 | ETag: [W/"d1579831895a14af49e1afe38f27690c"] | 51 | ETag: [W/"232c9306994806016c268f62dcb497d3"] |
52 | Transfer-Encoding: [chunked] | 52 | Transfer-Encoding: [chunked] |
53 | Vary: ['Accept-Encoding, Origin'] | 53 | Vary: ['Accept-Encoding, Origin'] |
54 | X-Content-Type-Options: [nosniff] | 54 | X-Content-Type-Options: [nosniff] |
55 | X-Frame-Options: [SAMEORIGIN] | 55 | X-Frame-Options: [SAMEORIGIN] |
56 | X-Request-Id: [3bcb9953-01eb-4379-b765-1b960ae794c8] | 56 | X-Request-Id: [44211ef3-6261-4aa8-9280-51aef86c752d] |
57 | X-Runtime: ['0.086290'] | 57 | X-Runtime: ['0.137789'] |
58 | X-XSS-Protection: [1; mode=block] | 58 | X-XSS-Protection: [1; mode=block] |
59 | content-length: ['1397'] | 59 | content-length: ['1401'] |
60 | status: {code: 200, message: OK} | 60 | status: {code: 200, message: OK} |
61 | - request: | 61 | - request: |
62 | body: null | 62 | body: null |
@@ -67,25 +67,25 @@ interactions: | |||
67 | Connection: [keep-alive] | 67 | Connection: [keep-alive] |
68 | User-Agent: [python-requests/2.9.1] | 68 | User-Agent: [python-requests/2.9.1] |
69 | method: GET | 69 | method: GET |
70 | uri: http://localhost:3000/api/v1/statuses/99979314847728053/favourited_by | 70 | uri: http://localhost:3000/api/v1/statuses/99979652003697194/favourited_by |
71 | response: | 71 | response: |
72 | body: {string: '[{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 72 | body: {string: '[{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
73 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI | 73 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI |
74 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":126}]'} | 74 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":129}]'} |
75 | headers: | 75 | headers: |
76 | Cache-Control: ['max-age=0, private, must-revalidate'] | 76 | Cache-Control: ['max-age=0, private, must-revalidate'] |
77 | Content-Type: [application/json; charset=utf-8] | 77 | Content-Type: [application/json; charset=utf-8] |
78 | ETag: [W/"82caed521649c2d6f5cc8db868f4f20b"] | 78 | ETag: [W/"ac56f69c21737071738bccf67443f46a"] |
79 | Link: ['<http://localhost:3000/api/v1/statuses/99979314847728053/favourited_by?since_id=34>; | 79 | Link: ['<http://localhost:3000/api/v1/statuses/99979652003697194/favourited_by?since_id=36>; |
80 | rel="prev"'] | 80 | rel="prev"'] |
81 | Transfer-Encoding: [chunked] | 81 | Transfer-Encoding: [chunked] |
82 | Vary: ['Accept-Encoding, Origin'] | 82 | Vary: ['Accept-Encoding, Origin'] |
83 | X-Content-Type-Options: [nosniff] | 83 | X-Content-Type-Options: [nosniff] |
84 | X-Frame-Options: [SAMEORIGIN] | 84 | X-Frame-Options: [SAMEORIGIN] |
85 | X-Request-Id: [2104f91b-f38e-4e38-8fa3-8c57e55c44e6] | 85 | X-Request-Id: [5205ca4c-c7ca-4261-aa4e-0b0530822fb2] |
86 | X-Runtime: ['0.031973'] | 86 | X-Runtime: ['0.045644'] |
87 | X-XSS-Protection: [1; mode=block] | 87 | X-XSS-Protection: [1; mode=block] |
88 | content-length: ['767'] | 88 | content-length: ['771'] |
89 | status: {code: 200, message: OK} | 89 | status: {code: 200, message: OK} |
90 | - request: | 90 | - request: |
91 | body: null | 91 | body: null |
@@ -97,19 +97,19 @@ interactions: | |||
97 | Content-Length: ['0'] | 97 | Content-Length: ['0'] |
98 | User-Agent: [python-requests/2.9.1] | 98 | User-Agent: [python-requests/2.9.1] |
99 | method: DELETE | 99 | method: DELETE |
100 | uri: http://localhost:3000/api/v1/statuses/99979314847728053 | 100 | uri: http://localhost:3000/api/v1/statuses/99979652003697194 |
101 | response: | 101 | response: |
102 | body: {string: '{}'} | 102 | body: {string: '{}'} |
103 | headers: | 103 | headers: |
104 | Cache-Control: ['max-age=0, private, must-revalidate'] | 104 | Cache-Control: ['max-age=0, private, must-revalidate'] |
105 | Content-Type: [application/json; charset=utf-8] | 105 | Content-Type: [application/json; charset=utf-8] |
106 | ETag: [W/"6d7c1bd8ce441365adf355524275d06a"] | 106 | ETag: [W/"3ad828d3c68f88990864d88248dd9bef"] |
107 | Transfer-Encoding: [chunked] | 107 | Transfer-Encoding: [chunked] |
108 | Vary: ['Accept-Encoding, Origin'] | 108 | Vary: ['Accept-Encoding, Origin'] |
109 | X-Content-Type-Options: [nosniff] | 109 | X-Content-Type-Options: [nosniff] |
110 | X-Frame-Options: [SAMEORIGIN] | 110 | X-Frame-Options: [SAMEORIGIN] |
111 | X-Request-Id: [4f99bcc8-ae1c-4c39-95f4-a8b86aa481af] | 111 | X-Request-Id: [5ad2f3eb-6392-49d6-98fa-f11cb2d94c98] |
112 | X-Runtime: ['0.030738'] | 112 | X-Runtime: ['0.039080'] |
113 | X-XSS-Protection: [1; mode=block] | 113 | X-XSS-Protection: [1; mode=block] |
114 | content-length: ['2'] | 114 | content-length: ['2'] |
115 | status: {code: 200, message: OK} | 115 | status: {code: 200, message: OK} |