diff options
Diffstat (limited to 'tests/cassettes/test_status_favourited_by.yaml')
-rw-r--r-- | tests/cassettes/test_status_favourited_by.yaml | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/tests/cassettes/test_status_favourited_by.yaml b/tests/cassettes/test_status_favourited_by.yaml index dfc542e..acbd6d6 100644 --- a/tests/cassettes/test_status_favourited_by.yaml +++ b/tests/cassettes/test_status_favourited_by.yaml | |||
@@ -113,4 +113,118 @@ interactions: | |||
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} |
116 | - request: | ||
117 | body: status=Toot%21 | ||
118 | headers: | ||
119 | Accept: ['*/*'] | ||
120 | Accept-Encoding: ['gzip, deflate'] | ||
121 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
122 | Connection: [keep-alive] | ||
123 | Content-Length: ['14'] | ||
124 | Content-Type: [application/x-www-form-urlencoded] | ||
125 | User-Agent: [python-requests/2.9.1] | ||
126 | method: POST | ||
127 | uri: http://localhost:3000/api/v1/statuses | ||
128 | response: | ||
129 | body: {string: '{"id":"99882235032510598","created_at":"2018-04-18T20:05:55.488Z","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/99882235032510598","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99882235032510598","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | ||
130 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | ||
131 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI | ||
132 | 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":23},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | ||
133 | headers: | ||
134 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
135 | Content-Type: [application/json; charset=utf-8] | ||
136 | ETag: [W/"79a41cbaa30b1a5e1e8a9af259afc395"] | ||
137 | Transfer-Encoding: [chunked] | ||
138 | Vary: ['Accept-Encoding, Origin'] | ||
139 | X-Content-Type-Options: [nosniff] | ||
140 | X-Frame-Options: [SAMEORIGIN] | ||
141 | X-Request-Id: [df4f8ccc-58b4-4365-83be-c142e583f532] | ||
142 | X-Runtime: ['0.297576'] | ||
143 | X-XSS-Protection: [1; mode=block] | ||
144 | content-length: ['1397'] | ||
145 | status: {code: 200, message: OK} | ||
146 | - request: | ||
147 | body: null | ||
148 | headers: | ||
149 | Accept: ['*/*'] | ||
150 | Accept-Encoding: ['gzip, deflate'] | ||
151 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
152 | Connection: [keep-alive] | ||
153 | Content-Length: ['0'] | ||
154 | User-Agent: [python-requests/2.9.1] | ||
155 | method: POST | ||
156 | uri: http://localhost:3000/api/v1/statuses/99882235032510598/favourite | ||
157 | response: | ||
158 | body: {string: '{"id":"99882235032510598","created_at":"2018-04-18T20:05:55.488Z","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/99882235032510598","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99882235032510598","reblogs_count":0,"favourites_count":1,"favourited":true,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py | ||
159 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | ||
160 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI | ||
161 | 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":21},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} | ||
162 | headers: | ||
163 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
164 | Content-Type: [application/json; charset=utf-8] | ||
165 | ETag: [W/"d991e5686a08c6d1f1e60ed6cb6031a1"] | ||
166 | Transfer-Encoding: [chunked] | ||
167 | Vary: ['Accept-Encoding, Origin'] | ||
168 | X-Content-Type-Options: [nosniff] | ||
169 | X-Frame-Options: [SAMEORIGIN] | ||
170 | X-Request-Id: [3a215e3f-805c-4ccb-9032-8ba7a6df5f3d] | ||
171 | X-Runtime: ['0.146934'] | ||
172 | X-XSS-Protection: [1; mode=block] | ||
173 | content-length: ['1396'] | ||
174 | status: {code: 200, message: OK} | ||
175 | - request: | ||
176 | body: null | ||
177 | headers: | ||
178 | Accept: ['*/*'] | ||
179 | Accept-Encoding: ['gzip, deflate'] | ||
180 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
181 | Connection: [keep-alive] | ||
182 | User-Agent: [python-requests/2.9.1] | ||
183 | method: GET | ||
184 | uri: http://localhost:3000/api/v1/statuses/99882235032510598/favourited_by | ||
185 | response: | ||
186 | body: {string: '[{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | ||
187 | Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI | ||
188 | 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":21}]'} | ||
189 | headers: | ||
190 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
191 | Content-Type: [application/json; charset=utf-8] | ||
192 | ETag: [W/"d31fd107f15c7d3a8237cfd8b4ba1d42"] | ||
193 | Link: ['<http://localhost:3000/api/v1/statuses/99882235032510598/favourited_by?since_id=30>; | ||
194 | rel="prev"'] | ||
195 | Transfer-Encoding: [chunked] | ||
196 | Vary: ['Accept-Encoding, Origin'] | ||
197 | X-Content-Type-Options: [nosniff] | ||
198 | X-Frame-Options: [SAMEORIGIN] | ||
199 | X-Request-Id: [8c426682-5f91-47eb-a259-02553f508429] | ||
200 | X-Runtime: ['0.051781'] | ||
201 | X-XSS-Protection: [1; mode=block] | ||
202 | content-length: ['766'] | ||
203 | status: {code: 200, message: OK} | ||
204 | - request: | ||
205 | body: null | ||
206 | headers: | ||
207 | Accept: ['*/*'] | ||
208 | Accept-Encoding: ['gzip, deflate'] | ||
209 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
210 | Connection: [keep-alive] | ||
211 | Content-Length: ['0'] | ||
212 | User-Agent: [python-requests/2.9.1] | ||
213 | method: DELETE | ||
214 | uri: http://localhost:3000/api/v1/statuses/99882235032510598 | ||
215 | response: | ||
216 | body: {string: '{}'} | ||
217 | headers: | ||
218 | Cache-Control: ['max-age=0, private, must-revalidate'] | ||
219 | Content-Type: [application/json; charset=utf-8] | ||
220 | ETag: [W/"11d68e650b5642c0c4db9f8aef775559"] | ||
221 | Transfer-Encoding: [chunked] | ||
222 | Vary: ['Accept-Encoding, Origin'] | ||
223 | X-Content-Type-Options: [nosniff] | ||
224 | X-Frame-Options: [SAMEORIGIN] | ||
225 | X-Request-Id: [4c2df254-d55d-4617-b901-8a69fe5e7274] | ||
226 | X-Runtime: ['0.044918'] | ||
227 | X-XSS-Protection: [1; mode=block] | ||
228 | content-length: ['2'] | ||
229 | status: {code: 200, message: OK} | ||
116 | version: 1 | 230 | version: 1 |