diff options
Diffstat (limited to 'tests/cassettes/test_revoke.yaml')
-rw-r--r-- | tests/cassettes/test_revoke.yaml | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/tests/cassettes/test_revoke.yaml b/tests/cassettes/test_revoke.yaml index bc75494..151fb12 100644 --- a/tests/cassettes/test_revoke.yaml +++ b/tests/cassettes/test_revoke.yaml | |||
@@ -19,14 +19,14 @@ interactions: | |||
19 | response: | 19 | response: |
20 | body: | 20 | body: |
21 | string: '{"access_token":"__MASTODON_PY_TEST_ACCESS_TOKEN_3","token_type":"Bearer","scope":"read | 21 | string: '{"access_token":"__MASTODON_PY_TEST_ACCESS_TOKEN_3","token_type":"Bearer","scope":"read |
22 | write follow push","created_at":1669078552}' | 22 | write follow push","created_at":1669931178}' |
23 | headers: | 23 | headers: |
24 | Cache-Control: | 24 | Cache-Control: |
25 | - no-store | 25 | - no-store |
26 | Content-Security-Policy: | 26 | Content-Security-Policy: |
27 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 27 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
28 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 28 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
29 | style-src ''self'' http://localhost:3000 ''nonce-qgSt4nG9WHHoLhv8/BTiNA==''; | 29 | style-src ''self'' http://localhost:3000 ''nonce-3Sb5WZL4NSRklf6CZcNCVw==''; |
30 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 30 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
31 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 31 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
32 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 32 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -36,7 +36,7 @@ interactions: | |||
36 | Content-Type: | 36 | Content-Type: |
37 | - application/json; charset=utf-8 | 37 | - application/json; charset=utf-8 |
38 | ETag: | 38 | ETag: |
39 | - W/"64a8679bd2f3d37be418066de7284ddd" | 39 | - W/"2850b9ad9c8cf74cd8203359b06d9613" |
40 | Pragma: | 40 | Pragma: |
41 | - no-cache | 41 | - no-cache |
42 | Referrer-Policy: | 42 | Referrer-Policy: |
@@ -54,9 +54,9 @@ interactions: | |||
54 | X-Permitted-Cross-Domain-Policies: | 54 | X-Permitted-Cross-Domain-Policies: |
55 | - none | 55 | - none |
56 | X-Request-Id: | 56 | X-Request-Id: |
57 | - f7be8646-6edb-4018-89b2-525917883907 | 57 | - bd7e21af-899c-48e2-a410-5f2c72199563 |
58 | X-Runtime: | 58 | X-Runtime: |
59 | - '0.072228' | 59 | - '0.042110' |
60 | X-XSS-Protection: | 60 | X-XSS-Protection: |
61 | - 1; mode=block | 61 | - 1; mode=block |
62 | status: | 62 | status: |
@@ -79,14 +79,14 @@ interactions: | |||
79 | uri: http://localhost:3000/api/v1/instance/ | 79 | uri: http://localhost:3000/api/v1/instance/ |
80 | response: | 80 | response: |
81 | body: | 81 | body: |
82 | string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.0.0rc2","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":8,"domain_count":0},"thumbnail":"http://localhost:3000/packs/media/images/preview-6399aebd96ccf025654e2977454f168f.png","languages":["en"],"registrations":true,"approval_required":false,"invites_enabled":true,"configuration":{"accounts":{"max_featured_tags":10},"statuses":{"max_characters":500,"max_media_attachments":4,"characters_reserved_per_url":23},"media_attachments":{"supported_mime_types":["image/jpeg","image/png","image/gif","image/heic","image/heif","image/webp","image/avif","video/webm","video/mp4","video/quicktime","video/ogg","audio/wave","audio/wav","audio/x-wav","audio/x-pn-wave","audio/vnd.wave","audio/ogg","audio/vorbis","audio/mpeg","audio/mp3","audio/webm","audio/flac","audio/aac","audio/m4a","audio/x-m4a","audio/mp4","audio/3gpp","video/x-ms-asf"],"image_size_limit":10485760,"image_matrix_limit":16777216,"video_size_limit":41943040,"video_frame_rate_limit":60,"video_matrix_limit":2304000},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746}},"contact_account":null,"rules":[]}' | 82 | string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.0.2","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":1,"domain_count":1},"thumbnail":"http://localhost:3000/packs/media/images/preview-6399aebd96ccf025654e2977454f168f.png","languages":["en"],"registrations":true,"approval_required":false,"invites_enabled":true,"configuration":{"accounts":{"max_featured_tags":10},"statuses":{"max_characters":500,"max_media_attachments":4,"characters_reserved_per_url":23},"media_attachments":{"supported_mime_types":["image/jpeg","image/png","image/gif","image/heic","image/heif","image/webp","image/avif","video/webm","video/mp4","video/quicktime","video/ogg","audio/wave","audio/wav","audio/x-wav","audio/x-pn-wave","audio/vnd.wave","audio/ogg","audio/vorbis","audio/mpeg","audio/mp3","audio/webm","audio/flac","audio/aac","audio/m4a","audio/x-m4a","audio/mp4","audio/3gpp","video/x-ms-asf"],"image_size_limit":10485760,"image_matrix_limit":16777216,"video_size_limit":41943040,"video_frame_rate_limit":60,"video_matrix_limit":2304000},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746}},"contact_account":null,"rules":[]}' |
83 | headers: | 83 | headers: |
84 | Cache-Control: | 84 | Cache-Control: |
85 | - max-age=180, public | 85 | - max-age=180, public |
86 | Content-Security-Policy: | 86 | Content-Security-Policy: |
87 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 87 | - '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; | 88 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
89 | style-src ''self'' http://localhost:3000 ''nonce-Xujah3tRsHYiM+FbWsiFuA==''; | 89 | style-src ''self'' http://localhost:3000 ''nonce-xcGHkD7UOR7wqw2K+icoLA==''; |
90 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 90 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
91 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 91 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
92 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 92 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -96,9 +96,9 @@ interactions: | |||
96 | Content-Type: | 96 | Content-Type: |
97 | - application/json; charset=utf-8 | 97 | - application/json; charset=utf-8 |
98 | Date: | 98 | Date: |
99 | - Thu, 24 Nov 2022 21:56:42 GMT | 99 | - Thu, 01 Dec 2022 19:47:08 GMT |
100 | ETag: | 100 | ETag: |
101 | - W/"b3134b9b6dd4c58f0150831d75c86c06" | 101 | - W/"f3d8b9e0e7a52fd79c73f5f6ac26b4dd" |
102 | Referrer-Policy: | 102 | Referrer-Policy: |
103 | - strict-origin-when-cross-origin | 103 | - strict-origin-when-cross-origin |
104 | Transfer-Encoding: | 104 | Transfer-Encoding: |
@@ -114,9 +114,9 @@ interactions: | |||
114 | X-Permitted-Cross-Domain-Policies: | 114 | X-Permitted-Cross-Domain-Policies: |
115 | - none | 115 | - none |
116 | X-Request-Id: | 116 | X-Request-Id: |
117 | - 902f84f2-1256-449b-8c98-e593b8b72998 | 117 | - abc4f49a-cad0-40b0-9fc4-1e3f16c907fa |
118 | X-Runtime: | 118 | X-Runtime: |
119 | - '0.042336' | 119 | - '0.015154' |
120 | X-XSS-Protection: | 120 | X-XSS-Protection: |
121 | - 1; mode=block | 121 | - 1; mode=block |
122 | status: | 122 | status: |
@@ -150,7 +150,7 @@ interactions: | |||
150 | Content-Security-Policy: | 150 | Content-Security-Policy: |
151 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 151 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
152 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 152 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
153 | style-src ''self'' http://localhost:3000 ''nonce-WT+/lb3ulLnfgMU4/kyt6A==''; | 153 | style-src ''self'' http://localhost:3000 ''nonce-G+geC397EcwLWta4fZyMMg==''; |
154 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 154 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
155 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 155 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
156 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 156 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -176,9 +176,9 @@ interactions: | |||
176 | X-Permitted-Cross-Domain-Policies: | 176 | X-Permitted-Cross-Domain-Policies: |
177 | - none | 177 | - none |
178 | X-Request-Id: | 178 | X-Request-Id: |
179 | - 8c35a1e3-0ad8-4035-bb05-0795e74bace4 | 179 | - ec989dea-f032-4d8c-be5c-de1b3e882643 |
180 | X-Runtime: | 180 | X-Runtime: |
181 | - '0.015637' | 181 | - '0.016103' |
182 | X-XSS-Protection: | 182 | X-XSS-Protection: |
183 | - 1; mode=block | 183 | - 1; mode=block |
184 | status: | 184 | status: |
@@ -210,7 +210,7 @@ interactions: | |||
210 | Content-Security-Policy: | 210 | Content-Security-Policy: |
211 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 211 | - '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; | 212 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
213 | style-src ''self'' http://localhost:3000 ''nonce-YJJZ0jnA7xjMKXR0QxnZpg==''; | 213 | style-src ''self'' http://localhost:3000 ''nonce-Ie2rw6KLp6JG3wxgaX6CoQ==''; |
214 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 214 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
215 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 215 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
216 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 216 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -239,9 +239,9 @@ interactions: | |||
239 | X-Permitted-Cross-Domain-Policies: | 239 | X-Permitted-Cross-Domain-Policies: |
240 | - none | 240 | - none |
241 | X-Request-Id: | 241 | X-Request-Id: |
242 | - 0a52d3a9-ad38-4fe9-8fd4-91e90d3180c5 | 242 | - 2011fa5f-7664-4101-bf57-f2049722453e |
243 | X-Runtime: | 243 | X-Runtime: |
244 | - '0.648647' | 244 | - '0.006893' |
245 | X-XSS-Protection: | 245 | X-XSS-Protection: |
246 | - 1; mode=block | 246 | - 1; mode=block |
247 | status: | 247 | status: |
@@ -264,14 +264,14 @@ interactions: | |||
264 | uri: http://localhost:3000/api/v1/instance/ | 264 | uri: http://localhost:3000/api/v1/instance/ |
265 | response: | 265 | response: |
266 | body: | 266 | body: |
267 | string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.0.0rc2","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":8,"domain_count":0},"thumbnail":"http://localhost:3000/packs/media/images/preview-6399aebd96ccf025654e2977454f168f.png","languages":["en"],"registrations":true,"approval_required":false,"invites_enabled":true,"configuration":{"accounts":{"max_featured_tags":10},"statuses":{"max_characters":500,"max_media_attachments":4,"characters_reserved_per_url":23},"media_attachments":{"supported_mime_types":["image/jpeg","image/png","image/gif","image/heic","image/heif","image/webp","image/avif","video/webm","video/mp4","video/quicktime","video/ogg","audio/wave","audio/wav","audio/x-wav","audio/x-pn-wave","audio/vnd.wave","audio/ogg","audio/vorbis","audio/mpeg","audio/mp3","audio/webm","audio/flac","audio/aac","audio/m4a","audio/x-m4a","audio/mp4","audio/3gpp","video/x-ms-asf"],"image_size_limit":10485760,"image_matrix_limit":16777216,"video_size_limit":41943040,"video_frame_rate_limit":60,"video_matrix_limit":2304000},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746}},"contact_account":null,"rules":[]}' | 267 | string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.0.2","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":1,"domain_count":1},"thumbnail":"http://localhost:3000/packs/media/images/preview-6399aebd96ccf025654e2977454f168f.png","languages":["en"],"registrations":true,"approval_required":false,"invites_enabled":true,"configuration":{"accounts":{"max_featured_tags":10},"statuses":{"max_characters":500,"max_media_attachments":4,"characters_reserved_per_url":23},"media_attachments":{"supported_mime_types":["image/jpeg","image/png","image/gif","image/heic","image/heif","image/webp","image/avif","video/webm","video/mp4","video/quicktime","video/ogg","audio/wave","audio/wav","audio/x-wav","audio/x-pn-wave","audio/vnd.wave","audio/ogg","audio/vorbis","audio/mpeg","audio/mp3","audio/webm","audio/flac","audio/aac","audio/m4a","audio/x-m4a","audio/mp4","audio/3gpp","video/x-ms-asf"],"image_size_limit":10485760,"image_matrix_limit":16777216,"video_size_limit":41943040,"video_frame_rate_limit":60,"video_matrix_limit":2304000},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746}},"contact_account":null,"rules":[]}' |
268 | headers: | 268 | headers: |
269 | Cache-Control: | 269 | Cache-Control: |
270 | - max-age=180, public | 270 | - max-age=180, public |
271 | Content-Security-Policy: | 271 | Content-Security-Policy: |
272 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 272 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
273 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 273 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
274 | style-src ''self'' http://localhost:3000 ''nonce-F1GvF0zbODWtYZVC3JI4wA==''; | 274 | style-src ''self'' http://localhost:3000 ''nonce-ofg9aAL+8mXZkW6++AXilw==''; |
275 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 275 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
276 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 276 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
277 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 277 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -281,9 +281,9 @@ interactions: | |||
281 | Content-Type: | 281 | Content-Type: |
282 | - application/json; charset=utf-8 | 282 | - application/json; charset=utf-8 |
283 | Date: | 283 | Date: |
284 | - Thu, 24 Nov 2022 21:56:43 GMT | 284 | - Thu, 01 Dec 2022 19:47:08 GMT |
285 | ETag: | 285 | ETag: |
286 | - W/"b3134b9b6dd4c58f0150831d75c86c06" | 286 | - W/"f3d8b9e0e7a52fd79c73f5f6ac26b4dd" |
287 | Referrer-Policy: | 287 | Referrer-Policy: |
288 | - strict-origin-when-cross-origin | 288 | - strict-origin-when-cross-origin |
289 | Transfer-Encoding: | 289 | Transfer-Encoding: |
@@ -299,9 +299,9 @@ interactions: | |||
299 | X-Permitted-Cross-Domain-Policies: | 299 | X-Permitted-Cross-Domain-Policies: |
300 | - none | 300 | - none |
301 | X-Request-Id: | 301 | X-Request-Id: |
302 | - 2bf6c22d-2f68-45a4-bd92-389a130454b4 | 302 | - 347f20e0-6729-43dc-aa4e-92fb8481a1a6 |
303 | X-Runtime: | 303 | X-Runtime: |
304 | - '0.015512' | 304 | - '0.015039' |
305 | X-XSS-Protection: | 305 | X-XSS-Protection: |
306 | - 1; mode=block | 306 | - 1; mode=block |
307 | status: | 307 | status: |
@@ -335,7 +335,7 @@ interactions: | |||
335 | Content-Security-Policy: | 335 | Content-Security-Policy: |
336 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 336 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
337 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 337 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
338 | style-src ''self'' http://localhost:3000 ''nonce-VHNNI4iV+hIATnI9wOKj0w==''; | 338 | style-src ''self'' http://localhost:3000 ''nonce-O2tqQHyvfWdyyC4c9P2C0A==''; |
339 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 339 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
340 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 340 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
341 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 341 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -363,9 +363,9 @@ interactions: | |||
363 | X-Permitted-Cross-Domain-Policies: | 363 | X-Permitted-Cross-Domain-Policies: |
364 | - none | 364 | - none |
365 | X-Request-Id: | 365 | X-Request-Id: |
366 | - ddb03e7b-25bf-4711-93a4-74e63bf8dbc5 | 366 | - 1c7a30ea-f644-4695-96d8-e3765290f27f |
367 | X-Runtime: | 367 | X-Runtime: |
368 | - '0.008214' | 368 | - '0.007280' |
369 | X-XSS-Protection: | 369 | X-XSS-Protection: |
370 | - 1; mode=block | 370 | - 1; mode=block |
371 | status: | 371 | status: |