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/test_list_by_account.yaml | |
parent | 33d1e17e2e75884abd6e0a8a3e4a4da388e97e55 (diff) | |
download | mastodon.py-3277ca777821e76955fb26d80788939a311db9db.tar.gz |
Initial test fixing pass. Four tests still fail.
Diffstat (limited to 'tests/cassettes/test_list_by_account.yaml')
-rw-r--r-- | tests/cassettes/test_list_by_account.yaml | 537 |
1 files changed, 384 insertions, 153 deletions
diff --git a/tests/cassettes/test_list_by_account.yaml b/tests/cassettes/test_list_by_account.yaml index c2b9a00..40ebc4f 100644 --- a/tests/cassettes/test_list_by_account.yaml +++ b/tests/cassettes/test_list_by_account.yaml | |||
@@ -2,198 +2,429 @@ interactions: | |||
2 | - request: | 2 | - request: |
3 | body: title=ham+burglars | 3 | body: title=ham+burglars |
4 | headers: | 4 | headers: |
5 | Accept: ['*/*'] | 5 | Accept: |
6 | Accept-Encoding: ['gzip, deflate'] | 6 | - '*/*' |
7 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 7 | Accept-Encoding: |
8 | Connection: [keep-alive] | 8 | - gzip, deflate |
9 | Content-Length: ['18'] | 9 | Authorization: |
10 | Content-Type: [application/x-www-form-urlencoded] | 10 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
11 | User-Agent: [python-requests/2.18.4] | 11 | Connection: |
12 | - keep-alive | ||
13 | Content-Length: | ||
14 | - '18' | ||
15 | Content-Type: | ||
16 | - application/x-www-form-urlencoded | ||
17 | User-Agent: | ||
18 | - tests/v311 | ||
12 | method: POST | 19 | method: POST |
13 | uri: http://localhost:3000/api/v1/lists | 20 | uri: http://localhost:3000/api/v1/lists |
14 | response: | 21 | response: |
15 | body: {string: '{"id":"4","title":"ham burglars"}'} | 22 | body: |
23 | string: '{"id":"4","title":"ham burglars","replies_policy":"list"}' | ||
16 | headers: | 24 | headers: |
17 | Cache-Control: ['no-cache, no-store'] | 25 | Cache-Control: |
18 | Content-Type: [application/json; charset=utf-8] | 26 | - no-store |
19 | Referrer-Policy: [strict-origin-when-cross-origin] | 27 | Content-Security-Policy: |
20 | Transfer-Encoding: [chunked] | 28 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
21 | Vary: ['Accept-Encoding, Origin'] | 29 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
22 | X-Content-Type-Options: [nosniff] | 30 | style-src ''self'' http://localhost:3000 ''nonce-3RBfhcn9Y0zfbgSPMXdbsQ==''; |
23 | X-Download-Options: [noopen] | 31 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
24 | X-Frame-Options: [SAMEORIGIN] | 32 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
25 | X-Permitted-Cross-Domain-Policies: [none] | 33 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
26 | X-Request-Id: [f2629943-8a5e-4f30-bda2-f933f33fb6a9] | 34 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
27 | X-Runtime: ['0.034635'] | 35 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
28 | X-XSS-Protection: [1; mode=block] | 36 | worker-src ''self'' blob: http://localhost:3000' |
29 | content-length: ['33'] | 37 | Content-Type: |
30 | status: {code: 200, message: OK} | 38 | - application/json; charset=utf-8 |
39 | ETag: | ||
40 | - W/"c5b1e35709846e297a52ddf3690dd105" | ||
41 | Referrer-Policy: | ||
42 | - strict-origin-when-cross-origin | ||
43 | Transfer-Encoding: | ||
44 | - chunked | ||
45 | Vary: | ||
46 | - Accept, Origin | ||
47 | X-Content-Type-Options: | ||
48 | - nosniff | ||
49 | X-Download-Options: | ||
50 | - noopen | ||
51 | X-Frame-Options: | ||
52 | - SAMEORIGIN | ||
53 | X-Permitted-Cross-Domain-Policies: | ||
54 | - none | ||
55 | X-Request-Id: | ||
56 | - 348fb741-4962-4c55-add5-de753640103b | ||
57 | X-Runtime: | ||
58 | - '0.019573' | ||
59 | X-XSS-Protection: | ||
60 | - 1; mode=block | ||
61 | status: | ||
62 | code: 200 | ||
63 | message: OK | ||
31 | - request: | 64 | - request: |
32 | body: null | 65 | body: null |
33 | headers: | 66 | headers: |
34 | Accept: ['*/*'] | 67 | Accept: |
35 | Accept-Encoding: ['gzip, deflate'] | 68 | - '*/*' |
36 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | 69 | Accept-Encoding: |
37 | Connection: [keep-alive] | 70 | - gzip, deflate |
38 | User-Agent: [python-requests/2.18.4] | 71 | Authorization: |
72 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 | ||
73 | Connection: | ||
74 | - keep-alive | ||
75 | User-Agent: | ||
76 | - tests/v311 | ||
39 | method: GET | 77 | method: GET |
40 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 78 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
41 | response: | 79 | response: |
42 | 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":0,"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":[]}'} | 80 | body: |
81 | string: '{"id":"109304268902557892","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"","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,"last_status_at":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"3","name":"Owner","permissions":"1048575","color":"","highlighted":true}}' | ||
43 | headers: | 82 | headers: |
44 | Cache-Control: ['no-cache, no-store'] | 83 | Cache-Control: |
45 | Content-Type: [application/json; charset=utf-8] | 84 | - no-store |
46 | Referrer-Policy: [strict-origin-when-cross-origin] | 85 | Content-Security-Policy: |
47 | Transfer-Encoding: [chunked] | 86 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
48 | Vary: ['Accept-Encoding, Origin'] | 87 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
49 | X-Content-Type-Options: [nosniff] | 88 | style-src ''self'' http://localhost:3000 ''nonce-ZpQyb4+OtO5ouHiQTrXAWg==''; |
50 | X-Download-Options: [noopen] | 89 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
51 | X-Frame-Options: [SAMEORIGIN] | 90 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
52 | X-Permitted-Cross-Domain-Policies: [none] | 91 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
53 | X-Request-Id: [fff1b6df-bf49-4a7e-b483-969ff9d5681d] | 92 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
54 | X-Runtime: ['0.043750'] | 93 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
55 | X-XSS-Protection: [1; mode=block] | 94 | worker-src ''self'' blob: http://localhost:3000' |
56 | content-length: ['699'] | 95 | Content-Type: |
57 | status: {code: 200, message: OK} | 96 | - application/json; charset=utf-8 |
97 | ETag: | ||
98 | - W/"2806d276d8ca861b8ad4afe38233637f" | ||
99 | Referrer-Policy: | ||
100 | - strict-origin-when-cross-origin | ||
101 | Transfer-Encoding: | ||
102 | - chunked | ||
103 | Vary: | ||
104 | - Accept, Origin | ||
105 | X-Content-Type-Options: | ||
106 | - nosniff | ||
107 | X-Download-Options: | ||
108 | - noopen | ||
109 | X-Frame-Options: | ||
110 | - SAMEORIGIN | ||
111 | X-Permitted-Cross-Domain-Policies: | ||
112 | - none | ||
113 | X-Request-Id: | ||
114 | - 7789cc81-fe58-44ba-a6ee-a1af3bda7f50 | ||
115 | X-Runtime: | ||
116 | - '0.011904' | ||
117 | X-XSS-Protection: | ||
118 | - 1; mode=block | ||
119 | status: | ||
120 | code: 200 | ||
121 | message: OK | ||
58 | - request: | 122 | - request: |
59 | body: reblogs=1&id=1 | 123 | body: id=109304268902557892&reblogs=1 |
60 | headers: | 124 | headers: |
61 | Accept: ['*/*'] | 125 | Accept: |
62 | Accept-Encoding: ['gzip, deflate'] | 126 | - '*/*' |
63 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 127 | Accept-Encoding: |
64 | Connection: [keep-alive] | 128 | - gzip, deflate |
65 | Content-Length: ['14'] | 129 | Authorization: |
66 | Content-Type: [application/x-www-form-urlencoded] | 130 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
67 | User-Agent: [python-requests/2.18.4] | 131 | Connection: |
132 | - keep-alive | ||
133 | Content-Length: | ||
134 | - '31' | ||
135 | Content-Type: | ||
136 | - application/x-www-form-urlencoded | ||
137 | User-Agent: | ||
138 | - tests/v311 | ||
68 | method: POST | 139 | method: POST |
69 | uri: http://localhost:3000/api/v1/accounts/1/follow | 140 | uri: http://localhost:3000/api/v1/accounts/109304268902557892/follow |
70 | response: | 141 | response: |
71 | 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}'} | 142 | body: |
143 | string: '{"id":"109304268902557892","following":true,"showing_reblogs":true,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}' | ||
72 | headers: | 144 | headers: |
73 | Cache-Control: ['no-cache, no-store'] | 145 | Cache-Control: |
74 | Content-Type: [application/json; charset=utf-8] | 146 | - no-store |
75 | Referrer-Policy: [strict-origin-when-cross-origin] | 147 | Content-Security-Policy: |
76 | Transfer-Encoding: [chunked] | 148 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
77 | Vary: ['Accept-Encoding, Origin'] | 149 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
78 | X-Content-Type-Options: [nosniff] | 150 | style-src ''self'' http://localhost:3000 ''nonce-0FTawlG8ABT6xPzGKm9eKw==''; |
79 | X-Download-Options: [noopen] | 151 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
80 | X-Frame-Options: [SAMEORIGIN] | 152 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
81 | X-Permitted-Cross-Domain-Policies: [none] | 153 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
82 | X-Request-Id: [8f805537-cfaf-4f49-b28a-eb81e91167ac] | 154 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
83 | X-Runtime: ['0.099585'] | 155 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
84 | X-XSS-Protection: [1; mode=block] | 156 | worker-src ''self'' blob: http://localhost:3000' |
85 | content-length: ['209'] | 157 | Content-Type: |
86 | status: {code: 200, message: OK} | 158 | - application/json; charset=utf-8 |
159 | ETag: | ||
160 | - W/"328aa28d0debfcbfaef3df0c7630cbd8" | ||
161 | Referrer-Policy: | ||
162 | - strict-origin-when-cross-origin | ||
163 | Transfer-Encoding: | ||
164 | - chunked | ||
165 | Vary: | ||
166 | - Accept, Origin | ||
167 | X-Content-Type-Options: | ||
168 | - nosniff | ||
169 | X-Download-Options: | ||
170 | - noopen | ||
171 | X-Frame-Options: | ||
172 | - SAMEORIGIN | ||
173 | X-Permitted-Cross-Domain-Policies: | ||
174 | - none | ||
175 | X-RateLimit-Limit: | ||
176 | - '400' | ||
177 | X-RateLimit-Remaining: | ||
178 | - '394' | ||
179 | X-RateLimit-Reset: | ||
180 | - '2022-11-08T00:00:00.684293Z' | ||
181 | X-Request-Id: | ||
182 | - 6e993434-762e-4543-bdb5-eabaf056935b | ||
183 | X-Runtime: | ||
184 | - '0.021046' | ||
185 | X-XSS-Protection: | ||
186 | - 1; mode=block | ||
187 | status: | ||
188 | code: 200 | ||
189 | message: OK | ||
87 | - request: | 190 | - request: |
88 | body: account_ids%5B%5D=1 | 191 | body: account_ids%5B%5D=109304268902557892 |
89 | headers: | 192 | headers: |
90 | Accept: ['*/*'] | 193 | Accept: |
91 | Accept-Encoding: ['gzip, deflate'] | 194 | - '*/*' |
92 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 195 | Accept-Encoding: |
93 | Connection: [keep-alive] | 196 | - gzip, deflate |
94 | Content-Length: ['19'] | 197 | Authorization: |
95 | Content-Type: [application/x-www-form-urlencoded] | 198 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
96 | User-Agent: [python-requests/2.18.4] | 199 | Connection: |
200 | - keep-alive | ||
201 | Content-Length: | ||
202 | - '36' | ||
203 | Content-Type: | ||
204 | - application/x-www-form-urlencoded | ||
205 | User-Agent: | ||
206 | - tests/v311 | ||
97 | method: POST | 207 | method: POST |
98 | uri: http://localhost:3000/api/v1/lists/4/accounts | 208 | uri: http://localhost:3000/api/v1/lists/4/accounts |
99 | response: | 209 | response: |
100 | body: {string: '{}'} | 210 | body: |
211 | string: '{}' | ||
101 | headers: | 212 | headers: |
102 | Cache-Control: ['no-cache, no-store'] | 213 | Cache-Control: |
103 | Content-Type: [application/json; charset=utf-8] | 214 | - no-store |
104 | Referrer-Policy: [strict-origin-when-cross-origin] | 215 | Content-Security-Policy: |
105 | Transfer-Encoding: [chunked] | 216 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
106 | Vary: ['Accept-Encoding, Origin'] | 217 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
107 | X-Content-Type-Options: [nosniff] | 218 | style-src ''self'' http://localhost:3000 ''nonce-vlFzu8v+tsmDA7OwVhj7Aw==''; |
108 | X-Download-Options: [noopen] | 219 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
109 | X-Frame-Options: [SAMEORIGIN] | 220 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
110 | X-Permitted-Cross-Domain-Policies: [none] | 221 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
111 | X-Request-Id: [772dddff-d6d9-4714-9217-77efffa99685] | 222 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
112 | X-Runtime: ['0.154870'] | 223 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
113 | X-XSS-Protection: [1; mode=block] | 224 | worker-src ''self'' blob: http://localhost:3000' |
114 | content-length: ['2'] | 225 | Content-Type: |
115 | status: {code: 200, message: OK} | 226 | - application/json; charset=utf-8 |
227 | ETag: | ||
228 | - W/"44136fa355b3678a1146ad16f7e8649e" | ||
229 | Referrer-Policy: | ||
230 | - strict-origin-when-cross-origin | ||
231 | Transfer-Encoding: | ||
232 | - chunked | ||
233 | Vary: | ||
234 | - Accept, Origin | ||
235 | X-Content-Type-Options: | ||
236 | - nosniff | ||
237 | X-Download-Options: | ||
238 | - noopen | ||
239 | X-Frame-Options: | ||
240 | - SAMEORIGIN | ||
241 | X-Permitted-Cross-Domain-Policies: | ||
242 | - none | ||
243 | X-Request-Id: | ||
244 | - 314a2509-b13c-4a44-a416-ec2b144fa5a9 | ||
245 | X-Runtime: | ||
246 | - '0.115112' | ||
247 | X-XSS-Protection: | ||
248 | - 1; mode=block | ||
249 | status: | ||
250 | code: 200 | ||
251 | message: OK | ||
116 | - request: | 252 | - request: |
117 | body: null | 253 | body: null |
118 | headers: | 254 | headers: |
119 | Accept: ['*/*'] | 255 | Accept: |
120 | Accept-Encoding: ['gzip, deflate'] | 256 | - '*/*' |
121 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 257 | Accept-Encoding: |
122 | Connection: [keep-alive] | 258 | - gzip, deflate |
123 | User-Agent: [python-requests/2.18.4] | 259 | Authorization: |
260 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
261 | Connection: | ||
262 | - keep-alive | ||
263 | User-Agent: | ||
264 | - tests/v311 | ||
124 | method: GET | 265 | method: GET |
125 | uri: http://localhost:3000/api/v1/accounts/1/lists | 266 | uri: http://localhost:3000/api/v1/accounts/109304268902557892/lists |
126 | response: | 267 | response: |
127 | body: {string: '[{"id":"4","title":"ham burglars"}]'} | 268 | body: |
269 | string: '[{"id":"4","title":"ham burglars","replies_policy":"list"}]' | ||
128 | headers: | 270 | headers: |
129 | Cache-Control: ['no-cache, no-store'] | 271 | Cache-Control: |
130 | Content-Type: [application/json; charset=utf-8] | 272 | - no-store |
131 | Referrer-Policy: [strict-origin-when-cross-origin] | 273 | Content-Security-Policy: |
132 | Transfer-Encoding: [chunked] | 274 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
133 | Vary: ['Accept-Encoding, Origin'] | 275 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
134 | X-Content-Type-Options: [nosniff] | 276 | style-src ''self'' http://localhost:3000 ''nonce-3ZrAkp0l5Brm/kAPF6+bqA==''; |
135 | X-Download-Options: [noopen] | 277 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
136 | X-Frame-Options: [SAMEORIGIN] | 278 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
137 | X-Permitted-Cross-Domain-Policies: [none] | 279 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
138 | X-Request-Id: [69b18900-08c3-4cac-9369-e487f948309d] | 280 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
139 | X-Runtime: ['0.063406'] | 281 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
140 | X-XSS-Protection: [1; mode=block] | 282 | worker-src ''self'' blob: http://localhost:3000' |
141 | content-length: ['35'] | 283 | Content-Type: |
142 | status: {code: 200, message: OK} | 284 | - application/json; charset=utf-8 |
285 | ETag: | ||
286 | - W/"d51298ec3bdc4e07e9bd1a702d57ccac" | ||
287 | Referrer-Policy: | ||
288 | - strict-origin-when-cross-origin | ||
289 | Transfer-Encoding: | ||
290 | - chunked | ||
291 | Vary: | ||
292 | - Accept, Origin | ||
293 | X-Content-Type-Options: | ||
294 | - nosniff | ||
295 | X-Download-Options: | ||
296 | - noopen | ||
297 | X-Frame-Options: | ||
298 | - SAMEORIGIN | ||
299 | X-Permitted-Cross-Domain-Policies: | ||
300 | - none | ||
301 | X-Request-Id: | ||
302 | - d8dfaf6b-a127-4182-9e45-408b918a2292 | ||
303 | X-Runtime: | ||
304 | - '0.011077' | ||
305 | X-XSS-Protection: | ||
306 | - 1; mode=block | ||
307 | status: | ||
308 | code: 200 | ||
309 | message: OK | ||
143 | - request: | 310 | - request: |
144 | body: null | 311 | body: null |
145 | headers: | 312 | headers: |
146 | Accept: ['*/*'] | 313 | Accept: |
147 | Accept-Encoding: ['gzip, deflate'] | 314 | - '*/*' |
148 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 315 | Accept-Encoding: |
149 | Connection: [keep-alive] | 316 | - gzip, deflate |
150 | Content-Length: ['0'] | 317 | Authorization: |
151 | User-Agent: [python-requests/2.18.4] | 318 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
319 | Connection: | ||
320 | - keep-alive | ||
321 | Content-Length: | ||
322 | - '0' | ||
323 | User-Agent: | ||
324 | - tests/v311 | ||
152 | method: POST | 325 | method: POST |
153 | uri: http://localhost:3000/api/v1/accounts/1/unfollow | 326 | uri: http://localhost:3000/api/v1/accounts/109304268902557892/unfollow |
154 | response: | 327 | response: |
155 | body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} | 328 | body: |
329 | string: '{"id":"109304268902557892","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}' | ||
156 | headers: | 330 | headers: |
157 | Cache-Control: ['no-cache, no-store'] | 331 | Cache-Control: |
158 | Content-Type: [application/json; charset=utf-8] | 332 | - no-store |
159 | Referrer-Policy: [strict-origin-when-cross-origin] | 333 | Content-Security-Policy: |
160 | Transfer-Encoding: [chunked] | 334 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
161 | Vary: ['Accept-Encoding, Origin'] | 335 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
162 | X-Content-Type-Options: [nosniff] | 336 | style-src ''self'' http://localhost:3000 ''nonce-GlScoXo67hEqc4d5YRY0FA==''; |
163 | X-Download-Options: [noopen] | 337 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
164 | X-Frame-Options: [SAMEORIGIN] | 338 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
165 | X-Permitted-Cross-Domain-Policies: [none] | 339 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
166 | X-Request-Id: [6d2445ac-7050-4468-945b-cf479ea119c7] | 340 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
167 | X-Runtime: ['0.071571'] | 341 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
168 | X-XSS-Protection: [1; mode=block] | 342 | worker-src ''self'' blob: http://localhost:3000' |
169 | content-length: ['211'] | 343 | Content-Type: |
170 | status: {code: 200, message: OK} | 344 | - application/json; charset=utf-8 |
345 | ETag: | ||
346 | - W/"8d8caa68e50963507d45a12d820e86b0" | ||
347 | Referrer-Policy: | ||
348 | - strict-origin-when-cross-origin | ||
349 | Transfer-Encoding: | ||
350 | - chunked | ||
351 | Vary: | ||
352 | - Accept, Origin | ||
353 | X-Content-Type-Options: | ||
354 | - nosniff | ||
355 | X-Download-Options: | ||
356 | - noopen | ||
357 | X-Frame-Options: | ||
358 | - SAMEORIGIN | ||
359 | X-Permitted-Cross-Domain-Policies: | ||
360 | - none | ||
361 | X-Request-Id: | ||
362 | - 3def8ceb-2f49-488f-b9a4-9eeb9ef0ffa3 | ||
363 | X-Runtime: | ||
364 | - '0.017490' | ||
365 | X-XSS-Protection: | ||
366 | - 1; mode=block | ||
367 | status: | ||
368 | code: 200 | ||
369 | message: OK | ||
171 | - request: | 370 | - request: |
172 | body: null | 371 | body: null |
173 | headers: | 372 | headers: |
174 | Accept: ['*/*'] | 373 | Accept: |
175 | Accept-Encoding: ['gzip, deflate'] | 374 | - '*/*' |
176 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 375 | Accept-Encoding: |
177 | Connection: [keep-alive] | 376 | - gzip, deflate |
178 | Content-Length: ['0'] | 377 | Authorization: |
179 | User-Agent: [python-requests/2.18.4] | 378 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN |
379 | Connection: | ||
380 | - keep-alive | ||
381 | Content-Length: | ||
382 | - '0' | ||
383 | User-Agent: | ||
384 | - tests/v311 | ||
180 | method: DELETE | 385 | method: DELETE |
181 | uri: http://localhost:3000/api/v1/lists/4 | 386 | uri: http://localhost:3000/api/v1/lists/4 |
182 | response: | 387 | response: |
183 | body: {string: '{}'} | 388 | body: |
389 | string: '{}' | ||
184 | headers: | 390 | headers: |
185 | Cache-Control: ['no-cache, no-store'] | 391 | Cache-Control: |
186 | Content-Type: [application/json; charset=utf-8] | 392 | - no-store |
187 | Referrer-Policy: [strict-origin-when-cross-origin] | 393 | Content-Security-Policy: |
188 | Transfer-Encoding: [chunked] | 394 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
189 | Vary: ['Accept-Encoding, Origin'] | 395 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
190 | X-Content-Type-Options: [nosniff] | 396 | style-src ''self'' http://localhost:3000 ''nonce-acZcq6jShbCPpITrR/JJRA==''; |
191 | X-Download-Options: [noopen] | 397 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
192 | X-Frame-Options: [SAMEORIGIN] | 398 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
193 | X-Permitted-Cross-Domain-Policies: [none] | 399 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
194 | X-Request-Id: [dd142ff9-802c-4365-a3a6-46d375810843] | 400 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' |
195 | X-Runtime: ['0.050116'] | 401 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; |
196 | X-XSS-Protection: [1; mode=block] | 402 | worker-src ''self'' blob: http://localhost:3000' |
197 | content-length: ['2'] | 403 | Content-Type: |
198 | status: {code: 200, message: OK} | 404 | - application/json; charset=utf-8 |
405 | ETag: | ||
406 | - W/"44136fa355b3678a1146ad16f7e8649e" | ||
407 | Referrer-Policy: | ||
408 | - strict-origin-when-cross-origin | ||
409 | Transfer-Encoding: | ||
410 | - chunked | ||
411 | Vary: | ||
412 | - Accept, Origin | ||
413 | X-Content-Type-Options: | ||
414 | - nosniff | ||
415 | X-Download-Options: | ||
416 | - noopen | ||
417 | X-Frame-Options: | ||
418 | - SAMEORIGIN | ||
419 | X-Permitted-Cross-Domain-Policies: | ||
420 | - none | ||
421 | X-Request-Id: | ||
422 | - 0cf5e488-237f-46c5-a6d4-7ed041f9a1f6 | ||
423 | X-Runtime: | ||
424 | - '0.013153' | ||
425 | X-XSS-Protection: | ||
426 | - 1; mode=block | ||
427 | status: | ||
428 | code: 200 | ||
429 | message: OK | ||
199 | version: 1 | 430 | version: 1 |