diff options
Diffstat (limited to 'tests/cassettes/test_stream_user.yaml')
-rw-r--r-- | tests/cassettes/test_stream_user.yaml | 171 |
1 files changed, 115 insertions, 56 deletions
diff --git a/tests/cassettes/test_stream_user.yaml b/tests/cassettes/test_stream_user.yaml index 8059906..196fe0b 100644 --- a/tests/cassettes/test_stream_user.yaml +++ b/tests/cassettes/test_stream_user.yaml | |||
@@ -7,7 +7,7 @@ interactions: | |||
7 | Accept-Encoding: | 7 | Accept-Encoding: |
8 | - gzip, deflate | 8 | - gzip, deflate |
9 | Authorization: | 9 | Authorization: |
10 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | 10 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2 |
11 | Connection: | 11 | Connection: |
12 | - keep-alive | 12 | - keep-alive |
13 | User-Agent: | 13 | User-Agent: |
@@ -16,17 +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":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 19 | string: '{"id":"109321664540352180","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-10T00: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":20,"last_status_at":"2022-11-10","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 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"\u003cp\u003eI | ||
21 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","followers_count":0,"following_count":0,"statuses_count":5,"last_status_at":"2022-11-07","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I | ||
22 | walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"follow_requests_count":0},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}' | ||
23 | headers: | 20 | headers: |
24 | Cache-Control: | 21 | Cache-Control: |
25 | - no-store | 22 | - no-store |
26 | Content-Security-Policy: | 23 | Content-Security-Policy: |
27 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 24 | - '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; | 25 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
29 | style-src ''self'' http://localhost:3000 ''nonce-VUl1+/U3UieNfmVbhpn2FA==''; | 26 | style-src ''self'' http://localhost:3000 ''nonce-5fw4XhR52WoYZaUWnUA36Q==''; |
30 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 27 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
31 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 28 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
32 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 29 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -36,7 +33,7 @@ interactions: | |||
36 | Content-Type: | 33 | Content-Type: |
37 | - application/json; charset=utf-8 | 34 | - application/json; charset=utf-8 |
38 | ETag: | 35 | ETag: |
39 | - W/"41bfd06ce7d76b72e812ecf3f112ca96" | 36 | - W/"6e0845cc558875a0e10200a2c3586aba" |
40 | Referrer-Policy: | 37 | Referrer-Policy: |
41 | - strict-origin-when-cross-origin | 38 | - strict-origin-when-cross-origin |
42 | Transfer-Encoding: | 39 | Transfer-Encoding: |
@@ -52,9 +49,9 @@ interactions: | |||
52 | X-Permitted-Cross-Domain-Policies: | 49 | X-Permitted-Cross-Domain-Policies: |
53 | - none | 50 | - none |
54 | X-Request-Id: | 51 | X-Request-Id: |
55 | - dc470e57-7714-4714-befb-9454dba8e53e | 52 | - 963abc1c-3752-4293-ab4c-befe423919c8 |
56 | X-Runtime: | 53 | X-Runtime: |
57 | - '0.013379' | 54 | - '0.215916' |
58 | X-XSS-Protection: | 55 | X-XSS-Protection: |
59 | - 1; mode=block | 56 | - 1; mode=block |
60 | status: | 57 | status: |
@@ -76,17 +73,17 @@ interactions: | |||
76 | User-Agent: | 73 | User-Agent: |
77 | - tests/v311 | 74 | - tests/v311 |
78 | method: POST | 75 | method: POST |
79 | uri: http://localhost:3000/api/v1/accounts/1234567890123456/unfollow | 76 | uri: http://localhost:3000/api/v1/accounts/109321664540352180/unfollow |
80 | response: | 77 | response: |
81 | body: | 78 | body: |
82 | string: '{"id":"1234567890123456","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":""}' | 79 | string: '{"id":"109321664540352180","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":""}' |
83 | headers: | 80 | headers: |
84 | Cache-Control: | 81 | Cache-Control: |
85 | - no-store | 82 | - no-store |
86 | Content-Security-Policy: | 83 | Content-Security-Policy: |
87 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 84 | - '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; | 85 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
89 | style-src ''self'' http://localhost:3000 ''nonce-HGB+rYfRb5TdQqMTKDe3bg==''; | 86 | style-src ''self'' http://localhost:3000 ''nonce-/3E/wVolGkB+tMZS5WDe/w==''; |
90 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 87 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
91 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 88 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
92 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 89 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -96,7 +93,7 @@ interactions: | |||
96 | Content-Type: | 93 | Content-Type: |
97 | - application/json; charset=utf-8 | 94 | - application/json; charset=utf-8 |
98 | ETag: | 95 | ETag: |
99 | - W/"76448d2d20dfa7540764936ef5dbc7a9" | 96 | - W/"11435fd0c88c7540ef53a1ce0f924077" |
100 | Referrer-Policy: | 97 | Referrer-Policy: |
101 | - strict-origin-when-cross-origin | 98 | - strict-origin-when-cross-origin |
102 | Transfer-Encoding: | 99 | Transfer-Encoding: |
@@ -112,9 +109,9 @@ interactions: | |||
112 | X-Permitted-Cross-Domain-Policies: | 109 | X-Permitted-Cross-Domain-Policies: |
113 | - none | 110 | - none |
114 | X-Request-Id: | 111 | X-Request-Id: |
115 | - ed999496-1cf4-411e-af8d-705cbbce363d | 112 | - d3a6580a-37eb-4611-af2b-ad78f5e698fb |
116 | X-Runtime: | 113 | X-Runtime: |
117 | - '0.012251' | 114 | - '0.030200' |
118 | X-XSS-Protection: | 115 | X-XSS-Protection: |
119 | - 1; mode=block | 116 | - 1; mode=block |
120 | status: | 117 | status: |
@@ -137,14 +134,14 @@ interactions: | |||
137 | uri: http://localhost:3000/api/v1/instance/ | 134 | uri: http://localhost:3000/api/v1/instance/ |
138 | response: | 135 | response: |
139 | body: | 136 | body: |
140 | 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":12,"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":[]}' | 137 | 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":22,"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":[]}' |
141 | headers: | 138 | headers: |
142 | Cache-Control: | 139 | Cache-Control: |
143 | - max-age=180, public | 140 | - max-age=180, public |
144 | Content-Security-Policy: | 141 | Content-Security-Policy: |
145 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 142 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
146 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 143 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
147 | style-src ''self'' http://localhost:3000 ''nonce-MGhUcpFP5NiP9JA+es1CtA==''; | 144 | style-src ''self'' http://localhost:3000 ''nonce-6lsVxd+CigbzW1+b/s0tVg==''; |
148 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 145 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
149 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 146 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
150 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 147 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -154,9 +151,9 @@ interactions: | |||
154 | Content-Type: | 151 | Content-Type: |
155 | - application/json; charset=utf-8 | 152 | - application/json; charset=utf-8 |
156 | Date: | 153 | Date: |
157 | - Mon, 07 Nov 2022 20:27:00 GMT | 154 | - Thu, 10 Nov 2022 22:06:15 GMT |
158 | ETag: | 155 | ETag: |
159 | - W/"3a31f3d76ec6a43850bae6791245f3d2" | 156 | - W/"58bbf4c7e13c8327f1d15f2dcabc73db" |
160 | Referrer-Policy: | 157 | Referrer-Policy: |
161 | - strict-origin-when-cross-origin | 158 | - strict-origin-when-cross-origin |
162 | Transfer-Encoding: | 159 | Transfer-Encoding: |
@@ -172,9 +169,9 @@ interactions: | |||
172 | X-Permitted-Cross-Domain-Policies: | 169 | X-Permitted-Cross-Domain-Policies: |
173 | - none | 170 | - none |
174 | X-Request-Id: | 171 | X-Request-Id: |
175 | - fcfa8974-c335-4de6-bda1-f35e9f36492a | 172 | - 7aa91a54-a4ca-4e9b-98e8-63dbfe7157f9 |
176 | X-Runtime: | 173 | X-Runtime: |
177 | - '0.014457' | 174 | - '0.032882' |
178 | X-XSS-Protection: | 175 | X-XSS-Protection: |
179 | - 1; mode=block | 176 | - 1; mode=block |
180 | status: | 177 | status: |
@@ -201,18 +198,16 @@ interactions: | |||
201 | uri: http://localhost:3000/api/v1/statuses | 198 | uri: http://localhost:3000/api/v1/statuses |
202 | response: | 199 | response: |
203 | body: | 200 | body: |
204 | string: '{"id":"109304402746515031","created_at":"2022-11-07T20:27:05.112Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109304402746515031","url":"http://localhost:3000/@mastodonpy_test/109304402746515031","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eonly | 201 | string: '{"id":"109321779957625680","created_at":"2022-11-10T22:06:20.327Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109321779957625680","url":"http://localhost:3000/@mastodonpy_test/109321779957625680","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eonly |
205 | real cars respond.\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 202 | real cars respond.\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
206 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 203 | test suite","website":null},"account":{"id":"109321664748836260","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-10T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test","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-10","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' |
207 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"\u003cp\u003eI | ||
208 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","followers_count":0,"following_count":0,"statuses_count":6,"last_status_at":"2022-11-07","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' | ||
209 | headers: | 204 | headers: |
210 | Cache-Control: | 205 | Cache-Control: |
211 | - no-store | 206 | - no-store |
212 | Content-Security-Policy: | 207 | Content-Security-Policy: |
213 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 208 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
214 | ''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; |
215 | style-src ''self'' http://localhost:3000 ''nonce-lwAA1RiSe0klsF2DHzsUew==''; | 210 | style-src ''self'' http://localhost:3000 ''nonce-EMfFzNJ6F082b0gnOnwKnw==''; |
216 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 211 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
217 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 212 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
218 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 213 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -222,7 +217,7 @@ interactions: | |||
222 | Content-Type: | 217 | Content-Type: |
223 | - application/json; charset=utf-8 | 218 | - application/json; charset=utf-8 |
224 | ETag: | 219 | ETag: |
225 | - W/"951b26a97dbfb147554b288a9b2b68c6" | 220 | - W/"52d3089086111ddccfd8419c4c5985d0" |
226 | Referrer-Policy: | 221 | Referrer-Policy: |
227 | - strict-origin-when-cross-origin | 222 | - strict-origin-when-cross-origin |
228 | Transfer-Encoding: | 223 | Transfer-Encoding: |
@@ -240,13 +235,13 @@ interactions: | |||
240 | X-RateLimit-Limit: | 235 | X-RateLimit-Limit: |
241 | - '300' | 236 | - '300' |
242 | X-RateLimit-Remaining: | 237 | X-RateLimit-Remaining: |
243 | - '188' | 238 | - '288' |
244 | X-RateLimit-Reset: | 239 | X-RateLimit-Reset: |
245 | - '2022-11-07T21:00:00.140150Z' | 240 | - '2022-11-11T00:00:00.390530Z' |
246 | X-Request-Id: | 241 | X-Request-Id: |
247 | - a4490d58-07cb-4db0-a23c-95210e0d3f30 | 242 | - 221df467-d2f2-4f0e-a807-a195aa5b4317 |
248 | X-Runtime: | 243 | X-Runtime: |
249 | - '0.040637' | 244 | - '0.111620' |
250 | X-XSS-Protection: | 245 | X-XSS-Protection: |
251 | - 1; mode=block | 246 | - 1; mode=block |
252 | status: | 247 | status: |
@@ -273,18 +268,18 @@ interactions: | |||
273 | uri: http://localhost:3000/api/v1/statuses | 268 | uri: http://localhost:3000/api/v1/statuses |
274 | response: | 269 | response: |
275 | body: | 270 | body: |
276 | string: '{"id":"109304402749964987","created_at":"2022-11-07T20:27:05.166Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109304402749964987","url":"http://localhost:3000/@admin/109304402749964987","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003e\u003cspan | 271 | string: '{"id":"109321779963947803","created_at":"2022-11-10T22:06:20.407Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109321779963947803","url":"http://localhost:3000/@admin/109321779963947803","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003e\u003cspan |
277 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | 272 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" |
278 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | 273 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e |
279 | beep beep I\u0026#39;m a jeep\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 274 | beep beep I\u0026#39;m a jeep\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
280 | test suite","website":null},"account":{"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":8,"last_status_at":"2022-11-07","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}' | 275 | test suite","website":null},"account":{"id":"109321664540352180","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-10T00: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":21,"last_status_at":"2022-11-10","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109321664748836260","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}' |
281 | headers: | 276 | headers: |
282 | Cache-Control: | 277 | Cache-Control: |
283 | - no-store | 278 | - no-store |
284 | Content-Security-Policy: | 279 | Content-Security-Policy: |
285 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 280 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
286 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 281 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
287 | style-src ''self'' http://localhost:3000 ''nonce-S0SpDbUf2W4dE627mFMCaQ==''; | 282 | style-src ''self'' http://localhost:3000 ''nonce-foSzmr69jTZHSHDxFsMPUQ==''; |
288 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 283 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
289 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 284 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
290 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 285 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -294,7 +289,7 @@ interactions: | |||
294 | Content-Type: | 289 | Content-Type: |
295 | - application/json; charset=utf-8 | 290 | - application/json; charset=utf-8 |
296 | ETag: | 291 | ETag: |
297 | - W/"0d096f7712f6d052de847691c0a8cd1e" | 292 | - W/"85599e71a085396f7294dd9a7d6b672e" |
298 | Referrer-Policy: | 293 | Referrer-Policy: |
299 | - strict-origin-when-cross-origin | 294 | - strict-origin-when-cross-origin |
300 | Transfer-Encoding: | 295 | Transfer-Encoding: |
@@ -312,13 +307,13 @@ interactions: | |||
312 | X-RateLimit-Limit: | 307 | X-RateLimit-Limit: |
313 | - '300' | 308 | - '300' |
314 | X-RateLimit-Remaining: | 309 | X-RateLimit-Remaining: |
315 | - '284' | 310 | - '279' |
316 | X-RateLimit-Reset: | 311 | X-RateLimit-Reset: |
317 | - '2022-11-07T21:00:00.196227Z' | 312 | - '2022-11-11T00:00:00.441817Z' |
318 | X-Request-Id: | 313 | X-Request-Id: |
319 | - a2193971-0857-4d22-b11f-231bdedf84a1 | 314 | - 60dccda0-5462-429f-a10d-988994fefc74 |
320 | X-Runtime: | 315 | X-Runtime: |
321 | - '0.051157' | 316 | - '0.047161' |
322 | X-XSS-Protection: | 317 | X-XSS-Protection: |
323 | - 1; mode=block | 318 | - 1; mode=block |
324 | status: | 319 | status: |
@@ -345,16 +340,16 @@ interactions: | |||
345 | uri: http://localhost:3000/api/v1/statuses | 340 | uri: http://localhost:3000/api/v1/statuses |
346 | response: | 341 | response: |
347 | body: | 342 | body: |
348 | string: '{"id":"109304402753176887","created_at":"2022-11-07T20:27:05.215Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109304402753176887","url":"http://localhost:3000/@admin/109304402753176887","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eon | 343 | string: '{"id":"109321779967333730","created_at":"2022-11-10T22:06:20.459Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109321779967333730","url":"http://localhost:3000/@admin/109321779967333730","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eon |
349 | the internet, nobody knows you\u0026#39;re a plane\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 344 | the internet, nobody knows you\u0026#39;re a plane\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
350 | test suite","website":null},"account":{"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":9,"last_status_at":"2022-11-07","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' | 345 | test suite","website":null},"account":{"id":"109321664540352180","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-10T00: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":22,"last_status_at":"2022-11-10","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' |
351 | headers: | 346 | headers: |
352 | Cache-Control: | 347 | Cache-Control: |
353 | - no-store | 348 | - no-store |
354 | Content-Security-Policy: | 349 | Content-Security-Policy: |
355 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 350 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
356 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 351 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
357 | style-src ''self'' http://localhost:3000 ''nonce-MYfq6GEw6OuVekqlsK8vZw==''; | 352 | style-src ''self'' http://localhost:3000 ''nonce-f9n1IBc+RWonNMzLKSTXPw==''; |
358 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 353 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
359 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 354 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
360 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 355 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -364,7 +359,7 @@ interactions: | |||
364 | Content-Type: | 359 | Content-Type: |
365 | - application/json; charset=utf-8 | 360 | - application/json; charset=utf-8 |
366 | ETag: | 361 | ETag: |
367 | - W/"e41978db3e5751e4a28c2fe4eb716664" | 362 | - W/"ebccac0ad60df00783935eab43e6dabd" |
368 | Referrer-Policy: | 363 | Referrer-Policy: |
369 | - strict-origin-when-cross-origin | 364 | - strict-origin-when-cross-origin |
370 | Transfer-Encoding: | 365 | Transfer-Encoding: |
@@ -382,13 +377,13 @@ interactions: | |||
382 | X-RateLimit-Limit: | 377 | X-RateLimit-Limit: |
383 | - '300' | 378 | - '300' |
384 | X-RateLimit-Remaining: | 379 | X-RateLimit-Remaining: |
385 | - '283' | 380 | - '278' |
386 | X-RateLimit-Reset: | 381 | X-RateLimit-Reset: |
387 | - '2022-11-07T21:00:00.237489Z' | 382 | - '2022-11-11T00:00:00.480001Z' |
388 | X-Request-Id: | 383 | X-Request-Id: |
389 | - ad50e460-5d55-457d-b719-c9c8f03789f5 | 384 | - 5d505a15-80e5-4ac1-98b5-10f7b7c23d8d |
390 | X-Runtime: | 385 | X-Runtime: |
391 | - '0.036905' | 386 | - '0.033460' |
392 | X-XSS-Protection: | 387 | X-XSS-Protection: |
393 | - 1; mode=block | 388 | - 1; mode=block |
394 | status: | 389 | status: |
@@ -410,21 +405,19 @@ interactions: | |||
410 | User-Agent: | 405 | User-Agent: |
411 | - tests/v311 | 406 | - tests/v311 |
412 | method: DELETE | 407 | method: DELETE |
413 | uri: http://localhost:3000/api/v1/statuses/109304402746515031 | 408 | uri: http://localhost:3000/api/v1/statuses/109321779957625680 |
414 | response: | 409 | response: |
415 | body: | 410 | body: |
416 | string: '{"id":"109304402746515031","created_at":"2022-11-07T20:27:05.112Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109304402746515031","url":"http://localhost:3000/@mastodonpy_test/109304402746515031","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"only | 411 | string: '{"id":"109321779957625680","created_at":"2022-11-10T22:06:20.327Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109321779957625680","url":"http://localhost:3000/@mastodonpy_test/109321779957625680","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"only |
417 | real cars respond.","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 412 | real cars respond.","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
418 | test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 413 | test suite","website":null},"account":{"id":"109321664748836260","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-10T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test","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":2,"last_status_at":"2022-11-10","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' |
419 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"\u003cp\u003eI | ||
420 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","followers_count":0,"following_count":0,"statuses_count":5,"last_status_at":"2022-11-07","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' | ||
421 | headers: | 414 | headers: |
422 | Cache-Control: | 415 | Cache-Control: |
423 | - no-store | 416 | - no-store |
424 | Content-Security-Policy: | 417 | Content-Security-Policy: |
425 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 418 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
426 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 419 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
427 | style-src ''self'' http://localhost:3000 ''nonce-rPI4ROrtmNt+SCZjt6KI1A==''; | 420 | style-src ''self'' http://localhost:3000 ''nonce-exYqWON2UTyAKx6FH5xeZw==''; |
428 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 421 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
429 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 422 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
430 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 423 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -434,7 +427,7 @@ interactions: | |||
434 | Content-Type: | 427 | Content-Type: |
435 | - application/json; charset=utf-8 | 428 | - application/json; charset=utf-8 |
436 | ETag: | 429 | ETag: |
437 | - W/"44e84ee8d59b0edbd95491cbb81af808" | 430 | - W/"87e842ddd3452fcc3aa050c8b8697a02" |
438 | Referrer-Policy: | 431 | Referrer-Policy: |
439 | - strict-origin-when-cross-origin | 432 | - strict-origin-when-cross-origin |
440 | Transfer-Encoding: | 433 | Transfer-Encoding: |
@@ -450,12 +443,78 @@ interactions: | |||
450 | X-Permitted-Cross-Domain-Policies: | 443 | X-Permitted-Cross-Domain-Policies: |
451 | - none | 444 | - none |
452 | X-Request-Id: | 445 | X-Request-Id: |
453 | - 50faf584-99b3-46f6-9f58-bd913132e646 | 446 | - 58afc3ac-48c8-4fdc-9dc6-1e10afec47be |
454 | X-Runtime: | 447 | X-Runtime: |
455 | - '0.027604' | 448 | - '0.051859' |
456 | X-XSS-Protection: | 449 | X-XSS-Protection: |
457 | - 1; mode=block | 450 | - 1; mode=block |
458 | status: | 451 | status: |
459 | code: 200 | 452 | code: 200 |
460 | message: OK | 453 | message: OK |
454 | - request: | ||
455 | body: null | ||
456 | headers: | ||
457 | Accept: | ||
458 | - '*/*' | ||
459 | Accept-Encoding: | ||
460 | - gzip, deflate | ||
461 | Authorization: | ||
462 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
463 | Connection: | ||
464 | - keep-alive | ||
465 | User-Agent: | ||
466 | - tests/v311 | ||
467 | method: GET | ||
468 | uri: http://localhost:4000/api/v1/streaming/user | ||
469 | response: | ||
470 | body: | ||
471 | string: ':) | ||
472 | |||
473 | event: update | ||
474 | |||
475 | data: {"id":"109321779957625680","created_at":"2022-11-10T22:06:20.327Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109321779957625680","url":"http://localhost:3000/@mastodonpy_test/109321779957625680","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"content":"<p>only | ||
476 | real cars respond.</p>","reblog":null,"application":{"name":"Mastodon.py test | ||
477 | suite","website":null},"account":{"id":"109321664748836260","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-10T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test","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-10","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"filtered":[]} | ||
478 | |||
479 | |||
480 | event: notification | ||
481 | |||
482 | data: {"id":"15","type":"mention","created_at":"2022-11-10T22:06:20.919Z","account":{"id":"109321664540352180","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-10T00: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":22,"last_status_at":"2022-11-10","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109321779963947803","created_at":"2022-11-10T22:06:20.407Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109321779963947803","url":"http://localhost:3000/@admin/109321779963947803","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"<p><span | ||
483 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test\" class=\"u-url | ||
484 | mention\">@<span>mastodonpy_test</span></a></span> beep beep I'm a jeep</p>","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
485 | test suite","website":null},"account":{"id":"109321664540352180","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-10T00: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":22,"last_status_at":"2022-11-10","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109321664748836260","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} | ||
486 | |||
487 | |||
488 | event: delete | ||
489 | |||
490 | data: 109321779957625680 | ||
491 | |||
492 | |||
493 | :' | ||
494 | headers: | ||
495 | Access-Control-Allow-Headers: | ||
496 | - Authorization, Accept, Cache-Control | ||
497 | Access-Control-Allow-Methods: | ||
498 | - GET, OPTIONS | ||
499 | Access-Control-Allow-Origin: | ||
500 | - '*' | ||
501 | Cache-Control: | ||
502 | - no-store | ||
503 | Connection: | ||
504 | - keep-alive | ||
505 | Content-Type: | ||
506 | - text/event-stream | ||
507 | Date: | ||
508 | - Thu, 10 Nov 2022 22:06:15 GMT | ||
509 | Keep-Alive: | ||
510 | - timeout=5 | ||
511 | Transfer-Encoding: | ||
512 | - chunked | ||
513 | X-Powered-By: | ||
514 | - Express | ||
515 | X-Request-Id: | ||
516 | - c7edc302-50f0-45db-9e73-83bf2983d4c1 | ||
517 | status: | ||
518 | code: 200 | ||
519 | message: OK | ||
461 | version: 1 | 520 | version: 1 |