diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-07 23:11:30 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-07 23:11:30 +0200 |
commit | 3277ca777821e76955fb26d80788939a311db9db (patch) | |
tree | bef0749a451464d00e59fb3c685e6eb6d69a8a78 /tests/cassettes_pre_4_0_0/test_filter_clientside.yaml | |
parent | 33d1e17e2e75884abd6e0a8a3e4a4da388e97e55 (diff) | |
download | mastodon.py-3277ca777821e76955fb26d80788939a311db9db.tar.gz |
Initial test fixing pass. Four tests still fail.
Diffstat (limited to 'tests/cassettes_pre_4_0_0/test_filter_clientside.yaml')
-rw-r--r-- | tests/cassettes_pre_4_0_0/test_filter_clientside.yaml | 559 |
1 files changed, 559 insertions, 0 deletions
diff --git a/tests/cassettes_pre_4_0_0/test_filter_clientside.yaml b/tests/cassettes_pre_4_0_0/test_filter_clientside.yaml new file mode 100644 index 0000000..d193fdb --- /dev/null +++ b/tests/cassettes_pre_4_0_0/test_filter_clientside.yaml | |||
@@ -0,0 +1,559 @@ | |||
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/filters | ||
12 | response: | ||
13 | body: {string: '[{"id":"3","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}]'} | ||
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: [2b59b337-0d7f-4dcd-a9a6-a3f6f5870951] | ||
25 | X-Runtime: ['0.030148'] | ||
26 | X-XSS-Protection: [1; mode=block] | ||
27 | content-length: ['121'] | ||
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 | Content-Length: ['0'] | ||
37 | User-Agent: [python-requests/2.18.4] | ||
38 | method: DELETE | ||
39 | uri: http://localhost:3000/api/v1/filters/3 | ||
40 | response: | ||
41 | body: {string: '{}'} | ||
42 | headers: | ||
43 | Cache-Control: ['no-cache, no-store'] | ||
44 | Content-Type: [application/json; charset=utf-8] | ||
45 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
46 | Transfer-Encoding: [chunked] | ||
47 | Vary: ['Accept-Encoding, Origin'] | ||
48 | X-Content-Type-Options: [nosniff] | ||
49 | X-Download-Options: [noopen] | ||
50 | X-Frame-Options: [SAMEORIGIN] | ||
51 | X-Permitted-Cross-Domain-Policies: [none] | ||
52 | X-Request-Id: [57f67a0f-7465-4792-9a3b-4602d2e09aea] | ||
53 | X-Runtime: ['0.033537'] | ||
54 | X-XSS-Protection: [1; mode=block] | ||
55 | content-length: ['2'] | ||
56 | status: {code: 200, message: OK} | ||
57 | - request: | ||
58 | body: null | ||
59 | headers: | ||
60 | Accept: ['*/*'] | ||
61 | Accept-Encoding: ['gzip, deflate'] | ||
62 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
63 | Connection: [keep-alive] | ||
64 | User-Agent: [python-requests/2.18.4] | ||
65 | method: GET | ||
66 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | ||
67 | response: | ||
68 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"following_count":0,"statuses_count":0,"last_status_at":"2020-02-22","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} | ||
69 | headers: | ||
70 | Cache-Control: ['no-cache, no-store'] | ||
71 | Content-Type: [application/json; charset=utf-8] | ||
72 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
73 | Transfer-Encoding: [chunked] | ||
74 | Vary: ['Accept-Encoding, Origin'] | ||
75 | X-Content-Type-Options: [nosniff] | ||
76 | X-Download-Options: [noopen] | ||
77 | X-Frame-Options: [SAMEORIGIN] | ||
78 | X-Permitted-Cross-Domain-Policies: [none] | ||
79 | X-Request-Id: [973fa7b8-f71c-41c5-8337-31ceca2de1d3] | ||
80 | X-Runtime: ['0.038258'] | ||
81 | X-XSS-Protection: [1; mode=block] | ||
82 | content-length: ['699'] | ||
83 | status: {code: 200, message: OK} | ||
84 | - request: | ||
85 | body: reblogs=1&id=1 | ||
86 | headers: | ||
87 | Accept: ['*/*'] | ||
88 | Accept-Encoding: ['gzip, deflate'] | ||
89 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
90 | Connection: [keep-alive] | ||
91 | Content-Length: ['14'] | ||
92 | Content-Type: [application/x-www-form-urlencoded] | ||
93 | User-Agent: [python-requests/2.18.4] | ||
94 | method: POST | ||
95 | uri: http://localhost:3000/api/v1/accounts/1/follow | ||
96 | response: | ||
97 | body: {string: '{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} | ||
98 | headers: | ||
99 | Cache-Control: ['no-cache, no-store'] | ||
100 | Content-Type: [application/json; charset=utf-8] | ||
101 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
102 | Transfer-Encoding: [chunked] | ||
103 | Vary: ['Accept-Encoding, Origin'] | ||
104 | X-Content-Type-Options: [nosniff] | ||
105 | X-Download-Options: [noopen] | ||
106 | X-Frame-Options: [SAMEORIGIN] | ||
107 | X-Permitted-Cross-Domain-Policies: [none] | ||
108 | X-Request-Id: [0fc4607a-86aa-4aeb-88bc-29914c5940d2] | ||
109 | X-Runtime: ['0.066751'] | ||
110 | X-XSS-Protection: [1; mode=block] | ||
111 | content-length: ['209'] | ||
112 | status: {code: 200, message: OK} | ||
113 | - request: | ||
114 | body: whole_word=0&irreversible=0&phrase=anime&context%5B%5D=home | ||
115 | headers: | ||
116 | Accept: ['*/*'] | ||
117 | Accept-Encoding: ['gzip, deflate'] | ||
118 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
119 | Connection: [keep-alive] | ||
120 | Content-Length: ['59'] | ||
121 | Content-Type: [application/x-www-form-urlencoded] | ||
122 | User-Agent: [python-requests/2.18.4] | ||
123 | method: POST | ||
124 | uri: http://localhost:3000/api/v1/filters | ||
125 | response: | ||
126 | body: {string: '{"id":"7","phrase":"anime","context":["home"],"whole_word":false,"expires_at":null,"irreversible":false}'} | ||
127 | headers: | ||
128 | Cache-Control: ['no-cache, no-store'] | ||
129 | Content-Type: [application/json; charset=utf-8] | ||
130 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
131 | Transfer-Encoding: [chunked] | ||
132 | Vary: ['Accept-Encoding, Origin'] | ||
133 | X-Content-Type-Options: [nosniff] | ||
134 | X-Download-Options: [noopen] | ||
135 | X-Frame-Options: [SAMEORIGIN] | ||
136 | X-Permitted-Cross-Domain-Policies: [none] | ||
137 | X-Request-Id: [5142bc72-d567-480a-b0e1-fee00b18a9e6] | ||
138 | X-Runtime: ['0.044321'] | ||
139 | X-XSS-Protection: [1; mode=block] | ||
140 | content-length: ['104'] | ||
141 | status: {code: 200, message: OK} | ||
142 | - request: | ||
143 | body: whole_word=1&irreversible=0&phrase=girugamesh&context%5B%5D=home | ||
144 | headers: | ||
145 | Accept: ['*/*'] | ||
146 | Accept-Encoding: ['gzip, deflate'] | ||
147 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
148 | Connection: [keep-alive] | ||
149 | Content-Length: ['64'] | ||
150 | Content-Type: [application/x-www-form-urlencoded] | ||
151 | User-Agent: [python-requests/2.18.4] | ||
152 | method: POST | ||
153 | uri: http://localhost:3000/api/v1/filters | ||
154 | response: | ||
155 | body: {string: '{"id":"8","phrase":"girugamesh","context":["home"],"whole_word":true,"expires_at":null,"irreversible":false}'} | ||
156 | headers: | ||
157 | Cache-Control: ['no-cache, no-store'] | ||
158 | Content-Type: [application/json; charset=utf-8] | ||
159 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
160 | Transfer-Encoding: [chunked] | ||
161 | Vary: ['Accept-Encoding, Origin'] | ||
162 | X-Content-Type-Options: [nosniff] | ||
163 | X-Download-Options: [noopen] | ||
164 | X-Frame-Options: [SAMEORIGIN] | ||
165 | X-Permitted-Cross-Domain-Policies: [none] | ||
166 | X-Request-Id: [56e30986-a295-4a40-affb-afe3da18b0d5] | ||
167 | X-Runtime: ['0.035241'] | ||
168 | X-XSS-Protection: [1; mode=block] | ||
169 | content-length: ['108'] | ||
170 | status: {code: 200, message: OK} | ||
171 | - request: | ||
172 | body: whole_word=1&irreversible=0&phrase=japanimation&context%5B%5D=notifications | ||
173 | headers: | ||
174 | Accept: ['*/*'] | ||
175 | Accept-Encoding: ['gzip, deflate'] | ||
176 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
177 | Connection: [keep-alive] | ||
178 | Content-Length: ['75'] | ||
179 | Content-Type: [application/x-www-form-urlencoded] | ||
180 | User-Agent: [python-requests/2.18.4] | ||
181 | method: POST | ||
182 | uri: http://localhost:3000/api/v1/filters | ||
183 | response: | ||
184 | body: {string: '{"id":"9","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} | ||
185 | headers: | ||
186 | Cache-Control: ['no-cache, no-store'] | ||
187 | Content-Type: [application/json; charset=utf-8] | ||
188 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
189 | Transfer-Encoding: [chunked] | ||
190 | Vary: ['Accept-Encoding, Origin'] | ||
191 | X-Content-Type-Options: [nosniff] | ||
192 | X-Download-Options: [noopen] | ||
193 | X-Frame-Options: [SAMEORIGIN] | ||
194 | X-Permitted-Cross-Domain-Policies: [none] | ||
195 | X-Request-Id: [49533c4d-6a08-4b2f-ba6b-9e1c6881daec] | ||
196 | X-Runtime: ['0.039071'] | ||
197 | X-XSS-Protection: [1; mode=block] | ||
198 | content-length: ['119'] | ||
199 | status: {code: 200, message: OK} | ||
200 | - request: | ||
201 | body: status=I+love+animes | ||
202 | headers: | ||
203 | Accept: ['*/*'] | ||
204 | Accept-Encoding: ['gzip, deflate'] | ||
205 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
206 | Connection: [keep-alive] | ||
207 | Content-Length: ['20'] | ||
208 | Content-Type: [application/x-www-form-urlencoded] | ||
209 | User-Agent: [python-requests/2.18.4] | ||
210 | method: POST | ||
211 | uri: http://localhost:3000/api/v1/statuses | ||
212 | response: | ||
213 | body: {string: '{"id":"103704147340570335","created_at":"2020-02-22T19:28:29.189Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704147340570335","url":"http://localhost/@admin/103704147340570335","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eI | ||
214 | love animes\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | ||
215 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"following_count":0,"statuses_count":1,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
216 | headers: | ||
217 | Cache-Control: ['no-cache, no-store'] | ||
218 | Content-Type: [application/json; charset=utf-8] | ||
219 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
220 | Transfer-Encoding: [chunked] | ||
221 | Vary: ['Accept-Encoding, Origin'] | ||
222 | X-Content-Type-Options: [nosniff] | ||
223 | X-Download-Options: [noopen] | ||
224 | X-Frame-Options: [SAMEORIGIN] | ||
225 | X-Permitted-Cross-Domain-Policies: [none] | ||
226 | X-Request-Id: [14348f8b-0b05-4338-a8a1-a244154ca657] | ||
227 | X-Runtime: ['0.175750'] | ||
228 | X-XSS-Protection: [1; mode=block] | ||
229 | content-length: ['1262'] | ||
230 | status: {code: 200, message: OK} | ||
231 | - request: | ||
232 | body: status=Girugamesh%21 | ||
233 | headers: | ||
234 | Accept: ['*/*'] | ||
235 | Accept-Encoding: ['gzip, deflate'] | ||
236 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
237 | Connection: [keep-alive] | ||
238 | Content-Length: ['20'] | ||
239 | Content-Type: [application/x-www-form-urlencoded] | ||
240 | User-Agent: [python-requests/2.18.4] | ||
241 | method: POST | ||
242 | uri: http://localhost:3000/api/v1/statuses | ||
243 | response: | ||
244 | body: {string: '{"id":"103704147356240915","created_at":"2020-02-22T19:28:29.426Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704147356240915","url":"http://localhost/@admin/103704147356240915","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eGirugamesh!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | ||
245 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
246 | headers: | ||
247 | Cache-Control: ['no-cache, no-store'] | ||
248 | Content-Type: [application/json; charset=utf-8] | ||
249 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
250 | Transfer-Encoding: [chunked] | ||
251 | Vary: ['Accept-Encoding, Origin'] | ||
252 | X-Content-Type-Options: [nosniff] | ||
253 | X-Download-Options: [noopen] | ||
254 | X-Frame-Options: [SAMEORIGIN] | ||
255 | X-Permitted-Cross-Domain-Policies: [none] | ||
256 | X-Request-Id: [4ee2185b-893d-4754-9042-c286220f4b3e] | ||
257 | X-Runtime: ['0.196297'] | ||
258 | X-XSS-Protection: [1; mode=block] | ||
259 | content-length: ['1260'] | ||
260 | status: {code: 200, message: OK} | ||
261 | - request: | ||
262 | body: status=Girugameshnetworking%21 | ||
263 | headers: | ||
264 | Accept: ['*/*'] | ||
265 | Accept-Encoding: ['gzip, deflate'] | ||
266 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
267 | Connection: [keep-alive] | ||
268 | Content-Length: ['30'] | ||
269 | Content-Type: [application/x-www-form-urlencoded] | ||
270 | User-Agent: [python-requests/2.18.4] | ||
271 | method: POST | ||
272 | uri: http://localhost:3000/api/v1/statuses | ||
273 | response: | ||
274 | body: {string: '{"id":"103704147371610706","created_at":"2020-02-22T19:28:29.667Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704147371610706","url":"http://localhost/@admin/103704147371610706","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eGirugameshnetworking!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | ||
275 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"following_count":0,"statuses_count":3,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
276 | headers: | ||
277 | Cache-Control: ['no-cache, no-store'] | ||
278 | Content-Type: [application/json; charset=utf-8] | ||
279 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
280 | Transfer-Encoding: [chunked] | ||
281 | Vary: ['Accept-Encoding, Origin'] | ||
282 | X-Content-Type-Options: [nosniff] | ||
283 | X-Download-Options: [noopen] | ||
284 | X-Frame-Options: [SAMEORIGIN] | ||
285 | X-Permitted-Cross-Domain-Policies: [none] | ||
286 | X-Request-Id: [8fe457cc-3b7b-4f07-8191-3c41dc5e5772] | ||
287 | X-Runtime: ['0.222910'] | ||
288 | X-XSS-Protection: [1; mode=block] | ||
289 | content-length: ['1270'] | ||
290 | status: {code: 200, message: OK} | ||
291 | - request: | ||
292 | body: status=I+love+japanimation%21 | ||
293 | headers: | ||
294 | Accept: ['*/*'] | ||
295 | Accept-Encoding: ['gzip, deflate'] | ||
296 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
297 | Connection: [keep-alive] | ||
298 | Content-Length: ['29'] | ||
299 | Content-Type: [application/x-www-form-urlencoded] | ||
300 | User-Agent: [python-requests/2.18.4] | ||
301 | method: POST | ||
302 | uri: http://localhost:3000/api/v1/statuses | ||
303 | response: | ||
304 | body: {string: '{"id":"103704147387189291","created_at":"2020-02-22T19:28:29.936Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704147387189291","url":"http://localhost/@admin/103704147387189291","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eI | ||
305 | love japanimation!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | ||
306 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"following_count":0,"statuses_count":4,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
307 | headers: | ||
308 | Cache-Control: ['no-cache, no-store'] | ||
309 | Content-Type: [application/json; charset=utf-8] | ||
310 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
311 | Transfer-Encoding: [chunked] | ||
312 | Vary: ['Accept-Encoding, Origin'] | ||
313 | X-Content-Type-Options: [nosniff] | ||
314 | X-Download-Options: [noopen] | ||
315 | X-Frame-Options: [SAMEORIGIN] | ||
316 | X-Permitted-Cross-Domain-Policies: [none] | ||
317 | X-Request-Id: [d52a0506-f666-4cc3-8d9f-06341228e382] | ||
318 | X-Runtime: ['0.296746'] | ||
319 | X-XSS-Protection: [1; mode=block] | ||
320 | content-length: ['1269'] | ||
321 | status: {code: 200, message: OK} | ||
322 | - request: | ||
323 | body: null | ||
324 | headers: | ||
325 | Accept: ['*/*'] | ||
326 | Accept-Encoding: ['gzip, deflate'] | ||
327 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
328 | Connection: [keep-alive] | ||
329 | User-Agent: [python-requests/2.18.4] | ||
330 | method: GET | ||
331 | uri: http://localhost:3000/api/v1/timelines/home | ||
332 | response: | ||
333 | body: {string: '[{"id":"103704147387189291","created_at":"2020-02-22T19:28:29.936Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704147387189291","url":"http://localhost/@admin/103704147387189291","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003eI | ||
334 | love japanimation!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | ||
335 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"following_count":0,"statuses_count":4,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null},{"id":"103704147371610706","created_at":"2020-02-22T19:28:29.667Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704147371610706","url":"http://localhost/@admin/103704147371610706","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003eGirugameshnetworking!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | ||
336 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"following_count":0,"statuses_count":4,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null},{"id":"103704147356240915","created_at":"2020-02-22T19:28:29.426Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704147356240915","url":"http://localhost/@admin/103704147356240915","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003eGirugamesh!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | ||
337 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"following_count":0,"statuses_count":4,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null},{"id":"103704147340570335","created_at":"2020-02-22T19:28:29.189Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704147340570335","url":"http://localhost/@admin/103704147340570335","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003eI | ||
338 | love animes\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py | ||
339 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"following_count":0,"statuses_count":4,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}]'} | ||
340 | headers: | ||
341 | Cache-Control: ['no-cache, no-store'] | ||
342 | Content-Type: [application/json; charset=utf-8] | ||
343 | Link: ['<http://localhost:3000/api/v1/timelines/home?max_id=103704147340570335>; | ||
344 | rel="next", <http://localhost:3000/api/v1/timelines/home?min_id=103704147387189291>; | ||
345 | rel="prev"'] | ||
346 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
347 | Transfer-Encoding: [chunked] | ||
348 | Vary: ['Accept-Encoding, Origin'] | ||
349 | X-Content-Type-Options: [nosniff] | ||
350 | X-Download-Options: [noopen] | ||
351 | X-Frame-Options: [SAMEORIGIN] | ||
352 | X-Permitted-Cross-Domain-Policies: [none] | ||
353 | X-Request-Id: [8756f53d-2fad-4139-a1dc-7b9ed2ddb2bb] | ||
354 | X-Runtime: ['0.127372'] | ||
355 | X-XSS-Protection: [1; mode=block] | ||
356 | content-length: ['5006'] | ||
357 | status: {code: 200, message: OK} | ||
358 | - request: | ||
359 | body: null | ||
360 | headers: | ||
361 | Accept: ['*/*'] | ||
362 | Accept-Encoding: ['gzip, deflate'] | ||
363 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
364 | Connection: [keep-alive] | ||
365 | Content-Length: ['0'] | ||
366 | User-Agent: [python-requests/2.18.4] | ||
367 | method: DELETE | ||
368 | uri: http://localhost:3000/api/v1/filters/7 | ||
369 | response: | ||
370 | body: {string: '{}'} | ||
371 | headers: | ||
372 | Cache-Control: ['no-cache, no-store'] | ||
373 | Content-Type: [application/json; charset=utf-8] | ||
374 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
375 | Transfer-Encoding: [chunked] | ||
376 | Vary: ['Accept-Encoding, Origin'] | ||
377 | X-Content-Type-Options: [nosniff] | ||
378 | X-Download-Options: [noopen] | ||
379 | X-Frame-Options: [SAMEORIGIN] | ||
380 | X-Permitted-Cross-Domain-Policies: [none] | ||
381 | X-Request-Id: [d870bb94-de04-463d-b0fb-9d746761cee0] | ||
382 | X-Runtime: ['0.044357'] | ||
383 | X-XSS-Protection: [1; mode=block] | ||
384 | content-length: ['2'] | ||
385 | status: {code: 200, message: OK} | ||
386 | - request: | ||
387 | body: null | ||
388 | headers: | ||
389 | Accept: ['*/*'] | ||
390 | Accept-Encoding: ['gzip, deflate'] | ||
391 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
392 | Connection: [keep-alive] | ||
393 | Content-Length: ['0'] | ||
394 | User-Agent: [python-requests/2.18.4] | ||
395 | method: DELETE | ||
396 | uri: http://localhost:3000/api/v1/filters/8 | ||
397 | response: | ||
398 | body: {string: '{}'} | ||
399 | headers: | ||
400 | Cache-Control: ['no-cache, no-store'] | ||
401 | Content-Type: [application/json; charset=utf-8] | ||
402 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
403 | Transfer-Encoding: [chunked] | ||
404 | Vary: ['Accept-Encoding, Origin'] | ||
405 | X-Content-Type-Options: [nosniff] | ||
406 | X-Download-Options: [noopen] | ||
407 | X-Frame-Options: [SAMEORIGIN] | ||
408 | X-Permitted-Cross-Domain-Policies: [none] | ||
409 | X-Request-Id: [622c9261-c358-4512-8e19-427802685a5f] | ||
410 | X-Runtime: ['0.032967'] | ||
411 | X-XSS-Protection: [1; mode=block] | ||
412 | content-length: ['2'] | ||
413 | status: {code: 200, message: OK} | ||
414 | - request: | ||
415 | body: null | ||
416 | headers: | ||
417 | Accept: ['*/*'] | ||
418 | Accept-Encoding: ['gzip, deflate'] | ||
419 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | ||
420 | Connection: [keep-alive] | ||
421 | Content-Length: ['0'] | ||
422 | User-Agent: [python-requests/2.18.4] | ||
423 | method: DELETE | ||
424 | uri: http://localhost:3000/api/v1/filters/9 | ||
425 | response: | ||
426 | body: {string: '{}'} | ||
427 | headers: | ||
428 | Cache-Control: ['no-cache, no-store'] | ||
429 | Content-Type: [application/json; charset=utf-8] | ||
430 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
431 | Transfer-Encoding: [chunked] | ||
432 | Vary: ['Accept-Encoding, Origin'] | ||
433 | X-Content-Type-Options: [nosniff] | ||
434 | X-Download-Options: [noopen] | ||
435 | X-Frame-Options: [SAMEORIGIN] | ||
436 | X-Permitted-Cross-Domain-Policies: [none] | ||
437 | X-Request-Id: [38e83db5-c702-4274-9243-2fbc99e4d528] | ||
438 | X-Runtime: ['0.044916'] | ||
439 | X-XSS-Protection: [1; mode=block] | ||
440 | content-length: ['2'] | ||
441 | status: {code: 200, message: OK} | ||
442 | - request: | ||
443 | body: null | ||
444 | headers: | ||
445 | Accept: ['*/*'] | ||
446 | Accept-Encoding: ['gzip, deflate'] | ||
447 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
448 | Connection: [keep-alive] | ||
449 | Content-Length: ['0'] | ||
450 | User-Agent: [python-requests/2.18.4] | ||
451 | method: DELETE | ||
452 | uri: http://localhost:3000/api/v1/statuses/103704147340570335 | ||
453 | response: | ||
454 | body: {string: '{"id":"103704147340570335","created_at":"2020-02-22T19:28:29.189Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704147340570335","url":"http://localhost/@admin/103704147340570335","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"I | ||
455 | love animes","reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"following_count":0,"statuses_count":4,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
456 | headers: | ||
457 | Cache-Control: ['no-cache, no-store'] | ||
458 | Content-Type: [application/json; charset=utf-8] | ||
459 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
460 | Transfer-Encoding: [chunked] | ||
461 | Vary: ['Accept-Encoding, Origin'] | ||
462 | X-Content-Type-Options: [nosniff] | ||
463 | X-Download-Options: [noopen] | ||
464 | X-Frame-Options: [SAMEORIGIN] | ||
465 | X-Permitted-Cross-Domain-Policies: [none] | ||
466 | X-Request-Id: [6fc40c70-61c7-40a7-bba0-2bcac2dbf5b0] | ||
467 | X-Runtime: ['0.109971'] | ||
468 | X-XSS-Protection: [1; mode=block] | ||
469 | content-length: ['1232'] | ||
470 | status: {code: 200, message: OK} | ||
471 | - request: | ||
472 | body: null | ||
473 | headers: | ||
474 | Accept: ['*/*'] | ||
475 | Accept-Encoding: ['gzip, deflate'] | ||
476 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
477 | Connection: [keep-alive] | ||
478 | Content-Length: ['0'] | ||
479 | User-Agent: [python-requests/2.18.4] | ||
480 | method: DELETE | ||
481 | uri: http://localhost:3000/api/v1/statuses/103704147356240915 | ||
482 | response: | ||
483 | body: {string: '{"id":"103704147356240915","created_at":"2020-02-22T19:28:29.426Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704147356240915","url":"http://localhost/@admin/103704147356240915","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Girugamesh!","reblog":null,"application":{"name":"Mastodon.py | ||
484 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"following_count":0,"statuses_count":3,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
485 | headers: | ||
486 | Cache-Control: ['no-cache, no-store'] | ||
487 | Content-Type: [application/json; charset=utf-8] | ||
488 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
489 | Transfer-Encoding: [chunked] | ||
490 | Vary: ['Accept-Encoding, Origin'] | ||
491 | X-Content-Type-Options: [nosniff] | ||
492 | X-Download-Options: [noopen] | ||
493 | X-Frame-Options: [SAMEORIGIN] | ||
494 | X-Permitted-Cross-Domain-Policies: [none] | ||
495 | X-Request-Id: [eeacb90f-51f5-46b4-a101-8815a645db90] | ||
496 | X-Runtime: ['0.127196'] | ||
497 | X-XSS-Protection: [1; mode=block] | ||
498 | content-length: ['1230'] | ||
499 | status: {code: 200, message: OK} | ||
500 | - request: | ||
501 | body: null | ||
502 | headers: | ||
503 | Accept: ['*/*'] | ||
504 | Accept-Encoding: ['gzip, deflate'] | ||
505 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
506 | Connection: [keep-alive] | ||
507 | Content-Length: ['0'] | ||
508 | User-Agent: [python-requests/2.18.4] | ||
509 | method: DELETE | ||
510 | uri: http://localhost:3000/api/v1/statuses/103704147371610706 | ||
511 | response: | ||
512 | body: {string: '{"id":"103704147371610706","created_at":"2020-02-22T19:28:29.667Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704147371610706","url":"http://localhost/@admin/103704147371610706","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Girugameshnetworking!","reblog":null,"application":{"name":"Mastodon.py | ||
513 | test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
514 | headers: | ||
515 | Cache-Control: ['no-cache, no-store'] | ||
516 | Content-Type: [application/json; charset=utf-8] | ||
517 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
518 | Transfer-Encoding: [chunked] | ||
519 | Vary: ['Accept-Encoding, Origin'] | ||
520 | X-Content-Type-Options: [nosniff] | ||
521 | X-Download-Options: [noopen] | ||
522 | X-Frame-Options: [SAMEORIGIN] | ||
523 | X-Permitted-Cross-Domain-Policies: [none] | ||
524 | X-Request-Id: [cefae67c-4c13-4383-b2fe-837c21a1be54] | ||
525 | X-Runtime: ['0.123581'] | ||
526 | X-XSS-Protection: [1; mode=block] | ||
527 | content-length: ['1240'] | ||
528 | status: {code: 200, message: OK} | ||
529 | - request: | ||
530 | body: null | ||
531 | headers: | ||
532 | Accept: ['*/*'] | ||
533 | Accept-Encoding: ['gzip, deflate'] | ||
534 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | ||
535 | Connection: [keep-alive] | ||
536 | Content-Length: ['0'] | ||
537 | User-Agent: [python-requests/2.18.4] | ||
538 | method: DELETE | ||
539 | uri: http://localhost:3000/api/v1/statuses/103704147387189291 | ||
540 | response: | ||
541 | body: {string: '{"id":"103704147387189291","created_at":"2020-02-22T19:28:29.936Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704147387189291","url":"http://localhost/@admin/103704147387189291","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"I | ||
542 | love japanimation!","reblog":null,"application":{"name":"Mastodon.py test | ||
543 | suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","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":1,"following_count":0,"statuses_count":1,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} | ||
544 | headers: | ||
545 | Cache-Control: ['no-cache, no-store'] | ||
546 | Content-Type: [application/json; charset=utf-8] | ||
547 | Referrer-Policy: [strict-origin-when-cross-origin] | ||
548 | Transfer-Encoding: [chunked] | ||
549 | Vary: ['Accept-Encoding, Origin'] | ||
550 | X-Content-Type-Options: [nosniff] | ||
551 | X-Download-Options: [noopen] | ||
552 | X-Frame-Options: [SAMEORIGIN] | ||
553 | X-Permitted-Cross-Domain-Policies: [none] | ||
554 | X-Request-Id: [14cb1cef-e36c-4149-bbc2-a863ddf162da] | ||
555 | X-Runtime: ['0.124865'] | ||
556 | X-XSS-Protection: [1; mode=block] | ||
557 | content-length: ['1239'] | ||
558 | status: {code: 200, message: OK} | ||
559 | version: 1 | ||