diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-13 16:16:29 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-13 16:16:29 +0200 |
commit | 0e00fced99976d74e972a3c9ca5b762697840a33 (patch) | |
tree | 632f7e06d3e7d81e15f78d8821d39acf59b8301c /tests/cassettes/test_account_mute_unmute.yaml | |
parent | c66015a6b0655f865c45587095ca8744a9d61534 (diff) | |
download | mastodon.py-0e00fced99976d74e972a3c9ca5b762697840a33.tar.gz |
fix tests
Diffstat (limited to 'tests/cassettes/test_account_mute_unmute.yaml')
-rw-r--r-- | tests/cassettes/test_account_mute_unmute.yaml | 62 |
1 files changed, 29 insertions, 33 deletions
diff --git a/tests/cassettes/test_account_mute_unmute.yaml b/tests/cassettes/test_account_mute_unmute.yaml index 367df9f..068fa93 100644 --- a/tests/cassettes/test_account_mute_unmute.yaml +++ b/tests/cassettes/test_account_mute_unmute.yaml | |||
@@ -16,14 +16,14 @@ interactions: | |||
16 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 16 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
17 | response: | 17 | response: |
18 | body: | 18 | body: |
19 | string: '{"id":"109336623096259500","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00: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":3,"last_status_at":"2022-11-13","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}}' | 19 | string: '{"id":"109336898971915318","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00: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}}' |
20 | headers: | 20 | headers: |
21 | Cache-Control: | 21 | Cache-Control: |
22 | - no-store | 22 | - no-store |
23 | Content-Security-Policy: | 23 | Content-Security-Policy: |
24 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 24 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
25 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 25 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
26 | style-src ''self'' http://localhost:3000 ''nonce-Q56EkUsqZSY9zBV4LxnnIw==''; | 26 | style-src ''self'' http://localhost:3000 ''nonce-Ehn7NhGlRZZHw2TxygH3CQ==''; |
27 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 27 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
28 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 28 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
29 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 29 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -33,7 +33,7 @@ interactions: | |||
33 | Content-Type: | 33 | Content-Type: |
34 | - application/json; charset=utf-8 | 34 | - application/json; charset=utf-8 |
35 | ETag: | 35 | ETag: |
36 | - W/"80d63625bd23e8fc4a88c4c4a0159382" | 36 | - W/"42368453c18e76d233e5f4ac57d3de69" |
37 | Referrer-Policy: | 37 | Referrer-Policy: |
38 | - strict-origin-when-cross-origin | 38 | - strict-origin-when-cross-origin |
39 | Transfer-Encoding: | 39 | Transfer-Encoding: |
@@ -49,9 +49,9 @@ interactions: | |||
49 | X-Permitted-Cross-Domain-Policies: | 49 | X-Permitted-Cross-Domain-Policies: |
50 | - none | 50 | - none |
51 | X-Request-Id: | 51 | X-Request-Id: |
52 | - 86cfed31-61ff-45b7-a7d7-e96debf43eaa | 52 | - e4fe290b-b049-48e2-90cf-cfb3ee8db0e0 |
53 | X-Runtime: | 53 | X-Runtime: |
54 | - '0.012205' | 54 | - '0.012021' |
55 | X-XSS-Protection: | 55 | X-XSS-Protection: |
56 | - 1; mode=block | 56 | - 1; mode=block |
57 | status: | 57 | status: |
@@ -75,18 +75,17 @@ interactions: | |||
75 | User-Agent: | 75 | User-Agent: |
76 | - tests/v311 | 76 | - tests/v311 |
77 | method: POST | 77 | method: POST |
78 | uri: http://localhost:3000/api/v1/accounts/109336623096259500/mute | 78 | uri: http://localhost:3000/api/v1/accounts/109336898971915318/mute |
79 | response: | 79 | response: |
80 | body: | 80 | body: |
81 | string: '{"id":"109336623096259500","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":true,"muting_notifications":true,"requested":false,"domain_blocking":false,"endorsed":false,"note":"top | 81 | string: '{"id":"109336898971915318","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":true,"muting_notifications":true,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}' |
82 | ebayer gerne wieder"}' | ||
83 | headers: | 82 | headers: |
84 | Cache-Control: | 83 | Cache-Control: |
85 | - no-store | 84 | - no-store |
86 | Content-Security-Policy: | 85 | Content-Security-Policy: |
87 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 86 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
88 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 87 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
89 | style-src ''self'' http://localhost:3000 ''nonce-HoZ3g1XFgO5ckiXUyMUFIA==''; | 88 | style-src ''self'' http://localhost:3000 ''nonce-/CozhLptFzCXmAZXKdc/PQ==''; |
90 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 89 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
91 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 90 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
92 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 91 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -96,7 +95,7 @@ interactions: | |||
96 | Content-Type: | 95 | Content-Type: |
97 | - application/json; charset=utf-8 | 96 | - application/json; charset=utf-8 |
98 | ETag: | 97 | ETag: |
99 | - W/"a8000ce3ba487d15194daa652517ab8c" | 98 | - W/"883c9df0623dd0add816d63d20cf09ce" |
100 | Referrer-Policy: | 99 | Referrer-Policy: |
101 | - strict-origin-when-cross-origin | 100 | - strict-origin-when-cross-origin |
102 | Transfer-Encoding: | 101 | Transfer-Encoding: |
@@ -112,9 +111,9 @@ interactions: | |||
112 | X-Permitted-Cross-Domain-Policies: | 111 | X-Permitted-Cross-Domain-Policies: |
113 | - none | 112 | - none |
114 | X-Request-Id: | 113 | X-Request-Id: |
115 | - 170b51ba-f1e2-4abf-98ec-06e9304a42a2 | 114 | - 5a3d6070-210a-46d6-b40f-3621547bfbe5 |
116 | X-Runtime: | 115 | X-Runtime: |
117 | - '0.024812' | 116 | - '0.023798' |
118 | X-XSS-Protection: | 117 | X-XSS-Protection: |
119 | - 1; mode=block | 118 | - 1; mode=block |
120 | status: | 119 | status: |
@@ -136,18 +135,17 @@ interactions: | |||
136 | User-Agent: | 135 | User-Agent: |
137 | - tests/v311 | 136 | - tests/v311 |
138 | method: POST | 137 | method: POST |
139 | uri: http://localhost:3000/api/v1/accounts/109336623096259500/unmute | 138 | uri: http://localhost:3000/api/v1/accounts/109336898971915318/unmute |
140 | response: | 139 | response: |
141 | body: | 140 | body: |
142 | string: '{"id":"109336623096259500","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":"top | 141 | string: '{"id":"109336898971915318","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":""}' |
143 | ebayer gerne wieder"}' | ||
144 | headers: | 142 | headers: |
145 | Cache-Control: | 143 | Cache-Control: |
146 | - no-store | 144 | - no-store |
147 | Content-Security-Policy: | 145 | Content-Security-Policy: |
148 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 146 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
149 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 147 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
150 | style-src ''self'' http://localhost:3000 ''nonce-trgxItZOBuI/lh7d7b66Lw==''; | 148 | style-src ''self'' http://localhost:3000 ''nonce-Zhkadi/xCCCInKjLsAYHAA==''; |
151 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 149 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
152 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 150 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
153 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 151 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -157,7 +155,7 @@ interactions: | |||
157 | Content-Type: | 155 | Content-Type: |
158 | - application/json; charset=utf-8 | 156 | - application/json; charset=utf-8 |
159 | ETag: | 157 | ETag: |
160 | - W/"fc5fa4da9317772baa3b6968b8c31a68" | 158 | - W/"b9dd6d5b54697012fa8e870d86d958d3" |
161 | Referrer-Policy: | 159 | Referrer-Policy: |
162 | - strict-origin-when-cross-origin | 160 | - strict-origin-when-cross-origin |
163 | Transfer-Encoding: | 161 | Transfer-Encoding: |
@@ -173,9 +171,9 @@ interactions: | |||
173 | X-Permitted-Cross-Domain-Policies: | 171 | X-Permitted-Cross-Domain-Policies: |
174 | - none | 172 | - none |
175 | X-Request-Id: | 173 | X-Request-Id: |
176 | - 85ada05a-7d79-47b8-8cf0-8de2a49016d9 | 174 | - 4c9376a1-50cc-4ce4-8de8-ced3b5e42e6e |
177 | X-Runtime: | 175 | X-Runtime: |
178 | - '0.014327' | 176 | - '0.015027' |
179 | X-XSS-Protection: | 177 | X-XSS-Protection: |
180 | - 1; mode=block | 178 | - 1; mode=block |
181 | status: | 179 | status: |
@@ -199,18 +197,17 @@ interactions: | |||
199 | User-Agent: | 197 | User-Agent: |
200 | - tests/v311 | 198 | - tests/v311 |
201 | method: POST | 199 | method: POST |
202 | uri: http://localhost:3000/api/v1/accounts/109336623096259500/mute | 200 | uri: http://localhost:3000/api/v1/accounts/109336898971915318/mute |
203 | response: | 201 | response: |
204 | body: | 202 | body: |
205 | string: '{"id":"109336623096259500","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":true,"muting_notifications":true,"requested":false,"domain_blocking":false,"endorsed":false,"note":"top | 203 | string: '{"id":"109336898971915318","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":true,"muting_notifications":true,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}' |
206 | ebayer gerne wieder"}' | ||
207 | headers: | 204 | headers: |
208 | Cache-Control: | 205 | Cache-Control: |
209 | - no-store | 206 | - no-store |
210 | Content-Security-Policy: | 207 | Content-Security-Policy: |
211 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 208 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
212 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 209 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
213 | style-src ''self'' http://localhost:3000 ''nonce-ulKAN35tFR8w47vwDv+M+g==''; | 210 | style-src ''self'' http://localhost:3000 ''nonce-zRtIZp1GlwFThrNFG6/e+Q==''; |
214 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 211 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
215 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 212 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
216 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 213 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -220,7 +217,7 @@ interactions: | |||
220 | Content-Type: | 217 | Content-Type: |
221 | - application/json; charset=utf-8 | 218 | - application/json; charset=utf-8 |
222 | ETag: | 219 | ETag: |
223 | - W/"a8000ce3ba487d15194daa652517ab8c" | 220 | - W/"883c9df0623dd0add816d63d20cf09ce" |
224 | Referrer-Policy: | 221 | Referrer-Policy: |
225 | - strict-origin-when-cross-origin | 222 | - strict-origin-when-cross-origin |
226 | Transfer-Encoding: | 223 | Transfer-Encoding: |
@@ -236,9 +233,9 @@ interactions: | |||
236 | X-Permitted-Cross-Domain-Policies: | 233 | X-Permitted-Cross-Domain-Policies: |
237 | - none | 234 | - none |
238 | X-Request-Id: | 235 | X-Request-Id: |
239 | - def180f2-31d5-4143-8269-e67a60a673f6 | 236 | - 7a65f95c-39bc-42c2-b409-24de943dee03 |
240 | X-Runtime: | 237 | X-Runtime: |
241 | - '0.014845' | 238 | - '0.015505' |
242 | X-XSS-Protection: | 239 | X-XSS-Protection: |
243 | - 1; mode=block | 240 | - 1; mode=block |
244 | status: | 241 | status: |
@@ -258,18 +255,17 @@ interactions: | |||
258 | User-Agent: | 255 | User-Agent: |
259 | - tests/v311 | 256 | - tests/v311 |
260 | method: GET | 257 | method: GET |
261 | uri: http://localhost:3000/api/v1/accounts/relationships?id=109336623096259500 | 258 | uri: http://localhost:3000/api/v1/accounts/relationships?id=109336898971915318 |
262 | response: | 259 | response: |
263 | body: | 260 | body: |
264 | string: '[{"id":"109336623096259500","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":"top | 261 | string: '[{"id":"109336898971915318","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":""}]' |
265 | ebayer gerne wieder"}]' | ||
266 | headers: | 262 | headers: |
267 | Cache-Control: | 263 | Cache-Control: |
268 | - no-store | 264 | - no-store |
269 | Content-Security-Policy: | 265 | Content-Security-Policy: |
270 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 266 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
271 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 267 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
272 | style-src ''self'' http://localhost:3000 ''nonce-pmSOPUJBqwKiXv/slHjKaw==''; | 268 | style-src ''self'' http://localhost:3000 ''nonce-tfUJDQuSov8OYSGHtp4zbg==''; |
273 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 269 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
274 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 270 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
275 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 271 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -279,7 +275,7 @@ interactions: | |||
279 | Content-Type: | 275 | Content-Type: |
280 | - application/json; charset=utf-8 | 276 | - application/json; charset=utf-8 |
281 | ETag: | 277 | ETag: |
282 | - W/"12de70d09cb081f282f9744599b401c5" | 278 | - W/"6ee15d72bf0466219285c8b125688be1" |
283 | Referrer-Policy: | 279 | Referrer-Policy: |
284 | - strict-origin-when-cross-origin | 280 | - strict-origin-when-cross-origin |
285 | Transfer-Encoding: | 281 | Transfer-Encoding: |
@@ -295,9 +291,9 @@ interactions: | |||
295 | X-Permitted-Cross-Domain-Policies: | 291 | X-Permitted-Cross-Domain-Policies: |
296 | - none | 292 | - none |
297 | X-Request-Id: | 293 | X-Request-Id: |
298 | - fd9a7f4d-42bf-496f-aed2-ed6517bd6754 | 294 | - ee64158a-fdff-40ef-80d5-bcf33eb0cac1 |
299 | X-Runtime: | 295 | X-Runtime: |
300 | - '0.010676' | 296 | - '0.010721' |
301 | X-XSS-Protection: | 297 | X-XSS-Protection: |
302 | - 1; mode=block | 298 | - 1; mode=block |
303 | status: | 299 | status: |