diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-11 00:21:00 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-11 00:21:00 +0200 |
commit | 78a1c174688d51040d76fce0b9bc7693ec985a97 (patch) | |
tree | e1e9dfe35d35eee58db5f47c529697de794e47fc /tests/cassettes/test_stream_healthy.yaml | |
parent | 6e170393e6a044d9d6981a15d94b7cdada97aac4 (diff) | |
download | mastodon.py-78a1c174688d51040d76fce0b9bc7693ec985a97.tar.gz |
Fix tests
Diffstat (limited to 'tests/cassettes/test_stream_healthy.yaml')
-rw-r--r-- | tests/cassettes/test_stream_healthy.yaml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/cassettes/test_stream_healthy.yaml b/tests/cassettes/test_stream_healthy.yaml index 93bdd25..cf71b41 100644 --- a/tests/cassettes/test_stream_healthy.yaml +++ b/tests/cassettes/test_stream_healthy.yaml | |||
@@ -14,14 +14,14 @@ interactions: | |||
14 | uri: http://localhost:3000/api/v1/instance/ | 14 | uri: http://localhost:3000/api/v1/instance/ |
15 | response: | 15 | response: |
16 | body: | 16 | body: |
17 | string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.0.0rc1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":5,"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":[]}' | 17 | 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":26,"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":[]}' |
18 | headers: | 18 | headers: |
19 | Cache-Control: | 19 | Cache-Control: |
20 | - max-age=180, public | 20 | - max-age=180, public |
21 | Content-Security-Policy: | 21 | Content-Security-Policy: |
22 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 22 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
23 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 23 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
24 | style-src ''self'' http://localhost:3000 ''nonce-IFylbF4oDsaIfFAG2GYmog==''; | 24 | style-src ''self'' http://localhost:3000 ''nonce-2GAQOyjXsz2oMCF35lSDHg==''; |
25 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 25 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
26 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 26 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
27 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 27 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -31,9 +31,9 @@ interactions: | |||
31 | Content-Type: | 31 | Content-Type: |
32 | - application/json; charset=utf-8 | 32 | - application/json; charset=utf-8 |
33 | Date: | 33 | Date: |
34 | - Mon, 07 Nov 2022 20:00:46 GMT | 34 | - Thu, 10 Nov 2022 22:13:54 GMT |
35 | ETag: | 35 | ETag: |
36 | - W/"a7bf7a9cf56db01ebceec16e6ad68b76" | 36 | - W/"4045472975d392761543da851003f105" |
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 | - 4010ac00-ded5-4d20-9a76-a513f3d741b3 | 52 | - 7d39bc08-e9dd-4148-a040-d51c1b15e9e0 |
53 | X-Runtime: | 53 | X-Runtime: |
54 | - '0.013582' | 54 | - '0.014872' |
55 | X-XSS-Protection: | 55 | X-XSS-Protection: |
56 | - 1; mode=block | 56 | - 1; mode=block |
57 | status: | 57 | status: |
@@ -85,7 +85,7 @@ interactions: | |||
85 | Content-Type: | 85 | Content-Type: |
86 | - text/plain | 86 | - text/plain |
87 | Date: | 87 | Date: |
88 | - Mon, 07 Nov 2022 20:00:46 GMT | 88 | - Thu, 10 Nov 2022 22:13:54 GMT |
89 | Keep-Alive: | 89 | Keep-Alive: |
90 | - timeout=5 | 90 | - timeout=5 |
91 | Transfer-Encoding: | 91 | Transfer-Encoding: |
@@ -93,7 +93,7 @@ interactions: | |||
93 | X-Powered-By: | 93 | X-Powered-By: |
94 | - Express | 94 | - Express |
95 | X-Request-Id: | 95 | X-Request-Id: |
96 | - d7132c56-20ae-448e-941c-e6cc2f8949dd | 96 | - 997f2a27-8e39-4aac-95a1-8a662e893228 |
97 | status: | 97 | status: |
98 | code: 200 | 98 | code: 200 |
99 | message: OK | 99 | message: OK |