diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-22 01:30:43 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-22 01:30:43 +0200 |
commit | 8865d1123e88b4e8cd5893a7d37c49fffb960853 (patch) | |
tree | ed23d92b6e53811b63cb20beb82c3bb0f5eb07cc /tests | |
parent | bf96add20c56b23d6c6a7e56de7caf67f0d8d421 (diff) | |
download | mastodon.py-8865d1123e88b4e8cd5893a7d37c49fffb960853.tar.gz |
Fix some tests, fix a pleroma specific date parsing issue
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cassettes/test_directory.yaml | 10 | ||||
-rw-r--r-- | tests/cassettes/test_stream_user_direct.yaml | 255 | ||||
-rw-r--r-- | tests/test_streaming.py | 11 |
3 files changed, 179 insertions, 97 deletions
diff --git a/tests/cassettes/test_directory.yaml b/tests/cassettes/test_directory.yaml index 1b12d54..e4ec7cb 100644 --- a/tests/cassettes/test_directory.yaml +++ b/tests/cassettes/test_directory.yaml | |||
@@ -16,14 +16,14 @@ interactions: | |||
16 | uri: http://localhost:3000/api/v1/directory | 16 | uri: http://localhost:3000/api/v1/directory |
17 | response: | 17 | response: |
18 | body: | 18 | body: |
19 | string: '[{"id":"109383665090212021","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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":"2022-11-21","noindex":false,"emojis":[],"fields":[]}]' | 19 | string: '[{"id":"109384260135049902","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"emojis":[],"fields":[]}]' |
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-xpVs3DQUf/Qj6+scQHcj2w==''; | 26 | style-src ''self'' http://localhost:3000 ''nonce-4zQUTaGqbRq4cCv1ZKgOhw==''; |
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/"da415b35a62517444708496f746f2ca2" | 36 | - W/"4cd256c2bfbe67103f7671696dd86c2f" |
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 | - d373f3cc-9362-450e-b7d9-06b8c0411b0d | 52 | - e421ca7a-a712-475c-9111-8e1b53b945c9 |
53 | X-Runtime: | 53 | X-Runtime: |
54 | - '0.029489' | 54 | - '0.029318' |
55 | X-XSS-Protection: | 55 | X-XSS-Protection: |
56 | - 1; mode=block | 56 | - 1; mode=block |
57 | status: | 57 | status: |
diff --git a/tests/cassettes/test_stream_user_direct.yaml b/tests/cassettes/test_stream_user_direct.yaml index cbed370..1a2580f 100644 --- a/tests/cassettes/test_stream_user_direct.yaml +++ b/tests/cassettes/test_stream_user_direct.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":"109383687317384970","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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}}' | 19 | string: '{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":6,"last_status_at":"2022-11-21","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-wY5l/ItCI1m5QY5SxnGCZw==''; | 26 | style-src ''self'' http://localhost:3000 ''nonce-PummBfiGQE1JowHOPncaXw==''; |
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/"3ca9a6fde27a9a8bd854a96dcfc0e7b2" | 36 | - W/"9030ced0e8c342dd835f00ea40a0bc56" |
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 | - c2184dff-4d3a-4c50-a9c5-ed64323b79cb | 52 | - 200e273c-3ae4-433b-ada1-6c12e09aade2 |
53 | X-Runtime: | 53 | X-Runtime: |
54 | - '0.232828' | 54 | - '0.013598' |
55 | X-XSS-Protection: | 55 | X-XSS-Protection: |
56 | - 1; mode=block | 56 | - 1; mode=block |
57 | status: | 57 | status: |
@@ -73,17 +73,17 @@ interactions: | |||
73 | User-Agent: | 73 | User-Agent: |
74 | - tests/v311 | 74 | - tests/v311 |
75 | method: POST | 75 | method: POST |
76 | uri: http://localhost:3000/api/v1/accounts/109383687317384970/unfollow | 76 | uri: http://localhost:3000/api/v1/accounts/109384259794974437/unfollow |
77 | response: | 77 | response: |
78 | body: | 78 | body: |
79 | string: '{"id":"109383687317384970","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":"109384259794974437","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":""}' |
80 | headers: | 80 | headers: |
81 | Cache-Control: | 81 | Cache-Control: |
82 | - no-store | 82 | - no-store |
83 | Content-Security-Policy: | 83 | Content-Security-Policy: |
84 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 84 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
85 | ''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; |
86 | style-src ''self'' http://localhost:3000 ''nonce-7XkmcTna3vWHWdCdqvvF1A==''; | 86 | style-src ''self'' http://localhost:3000 ''nonce-mQ9eRlqKjjjBk1SqgOjC/g==''; |
87 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 87 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
88 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 88 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
89 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 89 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -93,7 +93,7 @@ interactions: | |||
93 | Content-Type: | 93 | Content-Type: |
94 | - application/json; charset=utf-8 | 94 | - application/json; charset=utf-8 |
95 | ETag: | 95 | ETag: |
96 | - W/"834c827b7cfe9175d82e1a4bd08f215d" | 96 | - W/"da1368f0c6d6e731a771947b6a64ff57" |
97 | Referrer-Policy: | 97 | Referrer-Policy: |
98 | - strict-origin-when-cross-origin | 98 | - strict-origin-when-cross-origin |
99 | Transfer-Encoding: | 99 | Transfer-Encoding: |
@@ -109,9 +109,9 @@ interactions: | |||
109 | X-Permitted-Cross-Domain-Policies: | 109 | X-Permitted-Cross-Domain-Policies: |
110 | - none | 110 | - none |
111 | X-Request-Id: | 111 | X-Request-Id: |
112 | - e115ce24-4e94-44cb-9ce0-90c331f4f4b6 | 112 | - 72c29674-374c-4245-98a1-0a2a6c9e7f94 |
113 | X-Runtime: | 113 | X-Runtime: |
114 | - '0.036572' | 114 | - '0.013368' |
115 | X-XSS-Protection: | 115 | X-XSS-Protection: |
116 | - 1; mode=block | 116 | - 1; mode=block |
117 | status: | 117 | status: |
@@ -134,14 +134,14 @@ interactions: | |||
134 | uri: http://localhost:3000/api/v1/instance/ | 134 | uri: http://localhost:3000/api/v1/instance/ |
135 | response: | 135 | response: |
136 | body: | 136 | body: |
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":0,"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":6,"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":[]}' |
138 | headers: | 138 | headers: |
139 | Cache-Control: | 139 | Cache-Control: |
140 | - max-age=180, public | 140 | - max-age=180, public |
141 | Content-Security-Policy: | 141 | Content-Security-Policy: |
142 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 142 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
143 | ''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; |
144 | style-src ''self'' http://localhost:3000 ''nonce-aeAGJ5RU2r+vOcMDj/uqkQ==''; | 144 | style-src ''self'' http://localhost:3000 ''nonce-U3QtyYYcypf+1xBBLM3HEw==''; |
145 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 145 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
146 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 146 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
147 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 147 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -151,9 +151,9 @@ interactions: | |||
151 | Content-Type: | 151 | Content-Type: |
152 | - application/json; charset=utf-8 | 152 | - application/json; charset=utf-8 |
153 | Date: | 153 | Date: |
154 | - Mon, 21 Nov 2022 20:30:32 GMT | 154 | - Mon, 21 Nov 2022 23:06:14 GMT |
155 | ETag: | 155 | ETag: |
156 | - W/"6de86e074f529b0074f74528eee15b7a" | 156 | - W/"02f6de447b58c8ef38800346c358b5d4" |
157 | Referrer-Policy: | 157 | Referrer-Policy: |
158 | - strict-origin-when-cross-origin | 158 | - strict-origin-when-cross-origin |
159 | Transfer-Encoding: | 159 | Transfer-Encoding: |
@@ -169,9 +169,9 @@ interactions: | |||
169 | X-Permitted-Cross-Domain-Policies: | 169 | X-Permitted-Cross-Domain-Policies: |
170 | - none | 170 | - none |
171 | X-Request-Id: | 171 | X-Request-Id: |
172 | - 9942f96e-b48c-4254-9920-7ed4e81e37f1 | 172 | - c93447da-a8ec-4dc3-afae-a011e375da73 |
173 | X-Runtime: | 173 | X-Runtime: |
174 | - '0.032940' | 174 | - '0.014802' |
175 | X-XSS-Protection: | 175 | X-XSS-Protection: |
176 | - 1; mode=block | 176 | - 1; mode=block |
177 | status: | 177 | status: |
@@ -194,14 +194,14 @@ interactions: | |||
194 | uri: http://localhost:3000/api/v1/instance/ | 194 | uri: http://localhost:3000/api/v1/instance/ |
195 | response: | 195 | response: |
196 | body: | 196 | body: |
197 | 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":0,"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":[]}' | 197 | 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":6,"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":[]}' |
198 | headers: | 198 | headers: |
199 | Cache-Control: | 199 | Cache-Control: |
200 | - max-age=180, public | 200 | - max-age=180, public |
201 | Content-Security-Policy: | 201 | Content-Security-Policy: |
202 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 202 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
203 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 203 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
204 | style-src ''self'' http://localhost:3000 ''nonce-U4Ok3r+Da+UekNvECNdkBg==''; | 204 | style-src ''self'' http://localhost:3000 ''nonce-QaX7+0ROjZrSMxRe26bZHg==''; |
205 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 205 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
206 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 206 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
207 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 207 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -211,9 +211,9 @@ interactions: | |||
211 | Content-Type: | 211 | Content-Type: |
212 | - application/json; charset=utf-8 | 212 | - application/json; charset=utf-8 |
213 | Date: | 213 | Date: |
214 | - Mon, 21 Nov 2022 20:30:32 GMT | 214 | - Mon, 21 Nov 2022 23:06:14 GMT |
215 | ETag: | 215 | ETag: |
216 | - W/"6de86e074f529b0074f74528eee15b7a" | 216 | - W/"02f6de447b58c8ef38800346c358b5d4" |
217 | Referrer-Policy: | 217 | Referrer-Policy: |
218 | - strict-origin-when-cross-origin | 218 | - strict-origin-when-cross-origin |
219 | Transfer-Encoding: | 219 | Transfer-Encoding: |
@@ -229,9 +229,9 @@ interactions: | |||
229 | X-Permitted-Cross-Domain-Policies: | 229 | X-Permitted-Cross-Domain-Policies: |
230 | - none | 230 | - none |
231 | X-Request-Id: | 231 | X-Request-Id: |
232 | - f1129b94-ef1c-4974-906c-e8686f5b49cb | 232 | - 9e456d84-8614-46c8-a8c5-9e045765a79c |
233 | X-Runtime: | 233 | X-Runtime: |
234 | - '0.014735' | 234 | - '0.014128' |
235 | X-XSS-Protection: | 235 | X-XSS-Protection: |
236 | - 1; mode=block | 236 | - 1; mode=block |
237 | status: | 237 | status: |
@@ -258,16 +258,16 @@ interactions: | |||
258 | uri: http://localhost:3000/api/v1/statuses | 258 | uri: http://localhost:3000/api/v1/statuses |
259 | response: | 259 | response: |
260 | body: | 260 | body: |
261 | string: '{"id":"109383689004693346","created_at":"2022-11-21T20:30:37.415Z","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/109383689004693346","url":"http://localhost:3000/@mastodonpy_test/109383689004693346","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 | 261 | string: '{"id":"109384301257266974","created_at":"2022-11-21T23:06:19.635Z","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/109384301257266974","url":"http://localhost:3000/@mastodonpy_test/109384301257266974","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 |
262 | real cars respond.\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 262 | real cars respond.\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
263 | test suite","website":null},"account":{"id":"109383687546708201","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' | 263 | test suite","website":null},"account":{"id":"109384260022953307","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' |
264 | headers: | 264 | headers: |
265 | Cache-Control: | 265 | Cache-Control: |
266 | - no-store | 266 | - no-store |
267 | Content-Security-Policy: | 267 | Content-Security-Policy: |
268 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 268 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
269 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 269 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
270 | style-src ''self'' http://localhost:3000 ''nonce-Nug5j0k35i73b5/xZpDzSw==''; | 270 | style-src ''self'' http://localhost:3000 ''nonce-e2z1j+qCpIi6ImHwX+NssA==''; |
271 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 271 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
272 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 272 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
273 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 273 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -277,7 +277,7 @@ interactions: | |||
277 | Content-Type: | 277 | Content-Type: |
278 | - application/json; charset=utf-8 | 278 | - application/json; charset=utf-8 |
279 | ETag: | 279 | ETag: |
280 | - W/"06e532d7d1a0ea9f11ff0ca23b2eaf68" | 280 | - W/"65e269b9dbd60321d97663af0f504bbd" |
281 | Referrer-Policy: | 281 | Referrer-Policy: |
282 | - strict-origin-when-cross-origin | 282 | - strict-origin-when-cross-origin |
283 | Transfer-Encoding: | 283 | Transfer-Encoding: |
@@ -295,13 +295,13 @@ interactions: | |||
295 | X-RateLimit-Limit: | 295 | X-RateLimit-Limit: |
296 | - '300' | 296 | - '300' |
297 | X-RateLimit-Remaining: | 297 | X-RateLimit-Remaining: |
298 | - '299' | 298 | - '293' |
299 | X-RateLimit-Reset: | 299 | X-RateLimit-Reset: |
300 | - '2022-11-21T21:00:00.488905Z' | 300 | - '2022-11-22T00:00:00.668313Z' |
301 | X-Request-Id: | 301 | X-Request-Id: |
302 | - d58b0ca3-9915-496e-9561-0bffa479cfc8 | 302 | - 86478fc3-dfe6-49d9-8c8b-3693ad673da8 |
303 | X-Runtime: | 303 | X-Runtime: |
304 | - '0.121218' | 304 | - '0.047040' |
305 | X-XSS-Protection: | 305 | X-XSS-Protection: |
306 | - 1; mode=block | 306 | - 1; mode=block |
307 | status: | 307 | status: |
@@ -328,18 +328,18 @@ interactions: | |||
328 | uri: http://localhost:3000/api/v1/statuses | 328 | uri: http://localhost:3000/api/v1/statuses |
329 | response: | 329 | response: |
330 | body: | 330 | body: |
331 | string: '{"id":"109383689011592842","created_at":"2022-11-21T20:30:37.506Z","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/109383689011592842","url":"http://localhost:3000/@admin/109383689011592842","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 | 331 | string: '{"id":"109384301260589758","created_at":"2022-11-21T23:06:19.685Z","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/109384301260589758","url":"http://localhost:3000/@admin/109384301260589758","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 |
332 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | 332 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" |
333 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | 333 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e |
334 | beep beep I\u0026#39;m a jeep\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 334 | beep beep I\u0026#39;m a jeep\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
335 | test suite","website":null},"account":{"id":"109383687317384970","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109383687546708201","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}' | 335 | test suite","website":null},"account":{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":7,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}' |
336 | headers: | 336 | headers: |
337 | Cache-Control: | 337 | Cache-Control: |
338 | - no-store | 338 | - no-store |
339 | Content-Security-Policy: | 339 | Content-Security-Policy: |
340 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 340 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
341 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 341 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
342 | style-src ''self'' http://localhost:3000 ''nonce-pNk38vviNrOaxb42+nKYNg==''; | 342 | style-src ''self'' http://localhost:3000 ''nonce-6itUfAgqd9qY7S5zx/+qXw==''; |
343 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 343 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
344 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 344 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
345 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 345 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -349,7 +349,7 @@ interactions: | |||
349 | Content-Type: | 349 | Content-Type: |
350 | - application/json; charset=utf-8 | 350 | - application/json; charset=utf-8 |
351 | ETag: | 351 | ETag: |
352 | - W/"ce33df9a4501857c86d0dd6b52a59d4c" | 352 | - W/"5e2c779d68e0b766e8082edb20856d81" |
353 | Referrer-Policy: | 353 | Referrer-Policy: |
354 | - strict-origin-when-cross-origin | 354 | - strict-origin-when-cross-origin |
355 | Transfer-Encoding: | 355 | Transfer-Encoding: |
@@ -367,13 +367,13 @@ interactions: | |||
367 | X-RateLimit-Limit: | 367 | X-RateLimit-Limit: |
368 | - '300' | 368 | - '300' |
369 | X-RateLimit-Remaining: | 369 | X-RateLimit-Remaining: |
370 | - '299' | 370 | - '290' |
371 | X-RateLimit-Reset: | 371 | X-RateLimit-Reset: |
372 | - '2022-11-21T21:00:00.541345Z' | 372 | - '2022-11-22T00:00:00.768948Z' |
373 | X-Request-Id: | 373 | X-Request-Id: |
374 | - dacf0d9b-bbae-48e8-bd27-ca90ff5debae | 374 | - decb1060-87d7-4e35-b686-e6533e5a216a |
375 | X-Runtime: | 375 | X-Runtime: |
376 | - '0.047972' | 376 | - '0.096219' |
377 | X-XSS-Protection: | 377 | X-XSS-Protection: |
378 | - 1; mode=block | 378 | - 1; mode=block |
379 | status: | 379 | status: |
@@ -400,16 +400,16 @@ interactions: | |||
400 | uri: http://localhost:3000/api/v1/statuses | 400 | uri: http://localhost:3000/api/v1/statuses |
401 | response: | 401 | response: |
402 | body: | 402 | body: |
403 | string: '{"id":"109383689015957568","created_at":"2022-11-21T20:30:37.574Z","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/109383689015957568","url":"http://localhost:3000/@admin/109383689015957568","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 | 403 | string: '{"id":"109384301267183553","created_at":"2022-11-21T23:06:19.785Z","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/109384301267183553","url":"http://localhost:3000/@admin/109384301267183553","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 |
404 | the internet, nobody knows you\u0026#39;re a plane\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 404 | the internet, nobody knows you\u0026#39;re a plane\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
405 | test suite","website":null},"account":{"id":"109383687317384970","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":2,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' | 405 | test suite","website":null},"account":{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' |
406 | headers: | 406 | headers: |
407 | Cache-Control: | 407 | Cache-Control: |
408 | - no-store | 408 | - no-store |
409 | Content-Security-Policy: | 409 | Content-Security-Policy: |
410 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 410 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
411 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 411 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
412 | style-src ''self'' http://localhost:3000 ''nonce-AKoo2WqF9VDBOsCwVWqEhw==''; | 412 | style-src ''self'' http://localhost:3000 ''nonce-8SXWqBr3qM3cmbOb5L0Q6g==''; |
413 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 413 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
414 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 414 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
415 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 415 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -419,7 +419,7 @@ interactions: | |||
419 | Content-Type: | 419 | Content-Type: |
420 | - application/json; charset=utf-8 | 420 | - application/json; charset=utf-8 |
421 | ETag: | 421 | ETag: |
422 | - W/"66b8c9259455598a9e9464f1afacd306" | 422 | - W/"19358313ef9711d626c1aa1e1a665bf8" |
423 | Referrer-Policy: | 423 | Referrer-Policy: |
424 | - strict-origin-when-cross-origin | 424 | - strict-origin-when-cross-origin |
425 | Transfer-Encoding: | 425 | Transfer-Encoding: |
@@ -437,13 +437,13 @@ interactions: | |||
437 | X-RateLimit-Limit: | 437 | X-RateLimit-Limit: |
438 | - '300' | 438 | - '300' |
439 | X-RateLimit-Remaining: | 439 | X-RateLimit-Remaining: |
440 | - '298' | 440 | - '289' |
441 | X-RateLimit-Reset: | 441 | X-RateLimit-Reset: |
442 | - '2022-11-21T21:00:00.600086Z' | 442 | - '2022-11-22T00:00:00.817705Z' |
443 | X-Request-Id: | 443 | X-Request-Id: |
444 | - c90cd0bb-8980-4129-b951-246a7fcd5b91 | 444 | - 7d13a293-c072-4b44-9334-2a9ad2487d96 |
445 | X-Runtime: | 445 | X-Runtime: |
446 | - '0.053851' | 446 | - '0.044362' |
447 | X-XSS-Protection: | 447 | X-XSS-Protection: |
448 | - 1; mode=block | 448 | - 1; mode=block |
449 | status: | 449 | status: |
@@ -470,18 +470,18 @@ interactions: | |||
470 | uri: http://localhost:3000/api/v1/statuses | 470 | uri: http://localhost:3000/api/v1/statuses |
471 | response: | 471 | response: |
472 | body: | 472 | body: |
473 | string: '{"id":"109383689018917158","created_at":"2022-11-21T20:30:37.619Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109383689018917158","url":"http://localhost:3000/@mastodonpy_test/109383689018917158","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | 473 | string: '{"id":"109384301270458447","created_at":"2022-11-21T23:06:19.835Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109384301270458447","url":"http://localhost:3000/@mastodonpy_test/109384301270458447","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan |
474 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test_2\" | 474 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test_2\" |
475 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test_2\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | 475 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test_2\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e |
476 | pssssst\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 476 | pssssst\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
477 | test suite","website":null},"account":{"id":"109383687546708201","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109383687660136038","username":"mastodonpy_test_2","url":"http://localhost:3000/@mastodonpy_test_2","acct":"mastodonpy_test_2"}],"tags":[],"emojis":[],"card":null,"poll":null}' | 477 | test suite","website":null},"account":{"id":"109384260022953307","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260135049902","username":"mastodonpy_test_2","url":"http://localhost:3000/@mastodonpy_test_2","acct":"mastodonpy_test_2"}],"tags":[],"emojis":[],"card":null,"poll":null}' |
478 | headers: | 478 | headers: |
479 | Cache-Control: | 479 | Cache-Control: |
480 | - no-store | 480 | - no-store |
481 | Content-Security-Policy: | 481 | Content-Security-Policy: |
482 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 482 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
483 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 483 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
484 | style-src ''self'' http://localhost:3000 ''nonce-cwicODBt6bNPz9mKf11E5Q==''; | 484 | style-src ''self'' http://localhost:3000 ''nonce-Sxvfe0YcGzkMUxPI6IbhrQ==''; |
485 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 485 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
486 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 486 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
487 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 487 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -491,7 +491,7 @@ interactions: | |||
491 | Content-Type: | 491 | Content-Type: |
492 | - application/json; charset=utf-8 | 492 | - application/json; charset=utf-8 |
493 | ETag: | 493 | ETag: |
494 | - W/"5ea2b5082e48d942ecd2ec08dafa4ac1" | 494 | - W/"ff2a76a7dee12c5b949e5eacb3a9280f" |
495 | Referrer-Policy: | 495 | Referrer-Policy: |
496 | - strict-origin-when-cross-origin | 496 | - strict-origin-when-cross-origin |
497 | Transfer-Encoding: | 497 | Transfer-Encoding: |
@@ -509,20 +509,20 @@ interactions: | |||
509 | X-RateLimit-Limit: | 509 | X-RateLimit-Limit: |
510 | - '300' | 510 | - '300' |
511 | X-RateLimit-Remaining: | 511 | X-RateLimit-Remaining: |
512 | - '298' | 512 | - '292' |
513 | X-RateLimit-Reset: | 513 | X-RateLimit-Reset: |
514 | - '2022-11-21T21:00:00.645869Z' | 514 | - '2022-11-22T00:00:00.878336Z' |
515 | X-Request-Id: | 515 | X-Request-Id: |
516 | - 1e2141ee-72fd-4c87-9faa-7b51fb015a0f | 516 | - a04e886b-8a4a-40d1-9429-83e7b10bf88c |
517 | X-Runtime: | 517 | X-Runtime: |
518 | - '0.041215' | 518 | - '0.055913' |
519 | X-XSS-Protection: | 519 | X-XSS-Protection: |
520 | - 1; mode=block | 520 | - 1; mode=block |
521 | status: | 521 | status: |
522 | code: 200 | 522 | code: 200 |
523 | message: OK | 523 | message: OK |
524 | - request: | 524 | - request: |
525 | body: status=%40mastodonpy_test+pssssst%21&in_reply_to_id=109383689018917158&visibility=direct | 525 | body: status=%40mastodonpy_test+pssssst%21&in_reply_to_id=109384301270458447&visibility=direct |
526 | headers: | 526 | headers: |
527 | Accept: | 527 | Accept: |
528 | - '*/*' | 528 | - '*/*' |
@@ -542,18 +542,18 @@ interactions: | |||
542 | uri: http://localhost:3000/api/v1/statuses | 542 | uri: http://localhost:3000/api/v1/statuses |
543 | response: | 543 | response: |
544 | body: | 544 | body: |
545 | string: '{"id":"109383689022578579","created_at":"2022-11-21T20:30:37.674Z","in_reply_to_id":"109383689018917158","in_reply_to_account_id":"109383687546708201","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109383689022578579","url":"http://localhost:3000/@mastodonpy_test_2/109383689022578579","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | 545 | string: '{"id":"109384301340129379","created_at":"2022-11-21T23:06:20.898Z","in_reply_to_id":"109384301270458447","in_reply_to_account_id":"109384260022953307","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109384301340129379","url":"http://localhost:3000/@mastodonpy_test_2/109384301340129379","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan |
546 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | 546 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" |
547 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | 547 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e |
548 | pssssst!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 548 | pssssst!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
549 | test suite","website":null},"account":{"id":"109383687660136038","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109383687546708201","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}' | 549 | test suite","website":null},"account":{"id":"109384260135049902","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}' |
550 | headers: | 550 | headers: |
551 | Cache-Control: | 551 | Cache-Control: |
552 | - no-store | 552 | - no-store |
553 | Content-Security-Policy: | 553 | Content-Security-Policy: |
554 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 554 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
555 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 555 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
556 | style-src ''self'' http://localhost:3000 ''nonce-eXjkNPoUkWX6zmECuBg3xQ==''; | 556 | style-src ''self'' http://localhost:3000 ''nonce-S3YxdYtDVgWPKUJTp8S/eA==''; |
557 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 557 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
558 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 558 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
559 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 559 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -563,7 +563,7 @@ interactions: | |||
563 | Content-Type: | 563 | Content-Type: |
564 | - application/json; charset=utf-8 | 564 | - application/json; charset=utf-8 |
565 | ETag: | 565 | ETag: |
566 | - W/"5cd48c5e98ddd015159fc495162768b6" | 566 | - W/"88c5888d1bebe6f6ef6307c8bb3c7555" |
567 | Referrer-Policy: | 567 | Referrer-Policy: |
568 | - strict-origin-when-cross-origin | 568 | - strict-origin-when-cross-origin |
569 | Transfer-Encoding: | 569 | Transfer-Encoding: |
@@ -581,13 +581,83 @@ interactions: | |||
581 | X-RateLimit-Limit: | 581 | X-RateLimit-Limit: |
582 | - '300' | 582 | - '300' |
583 | X-RateLimit-Remaining: | 583 | X-RateLimit-Remaining: |
584 | - '299' | 584 | - '296' |
585 | X-RateLimit-Reset: | 585 | X-RateLimit-Reset: |
586 | - '2022-11-21T21:00:00.702116Z' | 586 | - '2022-11-22T00:00:00.947210Z' |
587 | X-Request-Id: | 587 | X-Request-Id: |
588 | - 82bf9922-2f25-4d2b-9602-b6a705f51c15 | 588 | - b8190f9b-4896-4039-8e26-0cd102057291 |
589 | X-Runtime: | 589 | X-Runtime: |
590 | - '0.051019' | 590 | - '0.061954' |
591 | X-XSS-Protection: | ||
592 | - 1; mode=block | ||
593 | status: | ||
594 | code: 200 | ||
595 | message: OK | ||
596 | - request: | ||
597 | body: status=only+real+animals+respond. | ||
598 | headers: | ||
599 | Accept: | ||
600 | - '*/*' | ||
601 | Accept-Encoding: | ||
602 | - gzip, deflate | ||
603 | Authorization: | ||
604 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
605 | Connection: | ||
606 | - keep-alive | ||
607 | Content-Length: | ||
608 | - '33' | ||
609 | Content-Type: | ||
610 | - application/x-www-form-urlencoded | ||
611 | User-Agent: | ||
612 | - tests/v311 | ||
613 | method: PUT | ||
614 | uri: http://localhost:3000/api/v1/statuses/109384301257266974 | ||
615 | response: | ||
616 | body: | ||
617 | string: '{"id":"109384301257266974","created_at":"2022-11-21T23:06:19.635Z","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/109384301257266974","url":"http://localhost:3000/@mastodonpy_test/109384301257266974","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":"2022-11-21T23:06:22.970Z","favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eonly | ||
618 | real animals respond.\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | ||
619 | test suite","website":null},"account":{"id":"109384260022953307","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' | ||
620 | headers: | ||
621 | Cache-Control: | ||
622 | - no-store | ||
623 | Content-Security-Policy: | ||
624 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
625 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
626 | style-src ''self'' http://localhost:3000 ''nonce-4/MO67mpdp/FVNcOR/ji1g==''; | ||
627 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
628 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
629 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
630 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
631 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
632 | worker-src ''self'' blob: http://localhost:3000' | ||
633 | Content-Type: | ||
634 | - application/json; charset=utf-8 | ||
635 | ETag: | ||
636 | - W/"d2f4496aaed8fc36db6b027b9ba0fdfe" | ||
637 | Referrer-Policy: | ||
638 | - strict-origin-when-cross-origin | ||
639 | Transfer-Encoding: | ||
640 | - chunked | ||
641 | Vary: | ||
642 | - Accept, Origin | ||
643 | X-Content-Type-Options: | ||
644 | - nosniff | ||
645 | X-Download-Options: | ||
646 | - noopen | ||
647 | X-Frame-Options: | ||
648 | - SAMEORIGIN | ||
649 | X-Permitted-Cross-Domain-Policies: | ||
650 | - none | ||
651 | X-RateLimit-Limit: | ||
652 | - '300' | ||
653 | X-RateLimit-Remaining: | ||
654 | - '291' | ||
655 | X-RateLimit-Reset: | ||
656 | - '2022-11-22T00:00:00.998619Z' | ||
657 | X-Request-Id: | ||
658 | - 120fea85-1265-4206-aebe-e4aab5e42a43 | ||
659 | X-Runtime: | ||
660 | - '0.044130' | ||
591 | X-XSS-Protection: | 661 | X-XSS-Protection: |
592 | - 1; mode=block | 662 | - 1; mode=block |
593 | status: | 663 | status: |
@@ -609,19 +679,19 @@ interactions: | |||
609 | User-Agent: | 679 | User-Agent: |
610 | - tests/v311 | 680 | - tests/v311 |
611 | method: DELETE | 681 | method: DELETE |
612 | uri: http://localhost:3000/api/v1/statuses/109383689004693346 | 682 | uri: http://localhost:3000/api/v1/statuses/109384301257266974 |
613 | response: | 683 | response: |
614 | body: | 684 | body: |
615 | string: '{"id":"109383689004693346","created_at":"2022-11-21T20:30:37.415Z","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/109383689004693346","url":"http://localhost:3000/@mastodonpy_test/109383689004693346","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"only | 685 | string: '{"id":"109384301257266974","created_at":"2022-11-21T23:06:19.635Z","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/109384301257266974","url":"http://localhost:3000/@mastodonpy_test/109384301257266974","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":"2022-11-21T23:06:22.970Z","favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"only |
616 | real cars respond.","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 686 | real animals respond.","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
617 | test suite","website":null},"account":{"id":"109383687546708201","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":0,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' | 687 | test suite","website":null},"account":{"id":"109384260022953307","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":0,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' |
618 | headers: | 688 | headers: |
619 | Cache-Control: | 689 | Cache-Control: |
620 | - no-store | 690 | - no-store |
621 | Content-Security-Policy: | 691 | Content-Security-Policy: |
622 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 692 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
623 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 693 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
624 | style-src ''self'' http://localhost:3000 ''nonce-pVcQnLw/6eiOtng2wmJViA==''; | 694 | style-src ''self'' http://localhost:3000 ''nonce-pVZzjqxTRTMsUe7KjE64kg==''; |
625 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 695 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
626 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 696 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
627 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 697 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -631,7 +701,7 @@ interactions: | |||
631 | Content-Type: | 701 | Content-Type: |
632 | - application/json; charset=utf-8 | 702 | - application/json; charset=utf-8 |
633 | ETag: | 703 | ETag: |
634 | - W/"090808ac368376930dcec847c8714838" | 704 | - W/"816a09fc70944fe293182a477becbaf5" |
635 | Referrer-Policy: | 705 | Referrer-Policy: |
636 | - strict-origin-when-cross-origin | 706 | - strict-origin-when-cross-origin |
637 | Transfer-Encoding: | 707 | Transfer-Encoding: |
@@ -647,9 +717,9 @@ interactions: | |||
647 | X-Permitted-Cross-Domain-Policies: | 717 | X-Permitted-Cross-Domain-Policies: |
648 | - none | 718 | - none |
649 | X-Request-Id: | 719 | X-Request-Id: |
650 | - abb29577-b3c2-472d-9b48-297ca1a18b43 | 720 | - 4540ff16-9b27-4db6-a6ff-03717cbbf7b8 |
651 | X-Runtime: | 721 | X-Runtime: |
652 | - '0.030526' | 722 | - '0.026664' |
653 | X-XSS-Protection: | 723 | X-XSS-Protection: |
654 | - 1; mode=block | 724 | - 1; mode=block |
655 | status: | 725 | status: |
@@ -676,38 +746,45 @@ interactions: | |||
676 | 746 | ||
677 | event: update | 747 | event: update |
678 | 748 | ||
679 | data: {"id":"109383689004693346","created_at":"2022-11-21T20:30:37.415Z","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/109383689004693346","url":"http://localhost:3000/@mastodonpy_test/109383689004693346","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"content":"<p>only | 749 | data: {"id":"109384301257266974","created_at":"2022-11-21T23:06:19.635Z","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/109384301257266974","url":"http://localhost:3000/@mastodonpy_test/109384301257266974","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"content":"<p>only |
680 | real cars respond.</p>","reblog":null,"application":{"name":"Mastodon.py test | 750 | real cars respond.</p>","reblog":null,"application":{"name":"Mastodon.py test |
681 | suite","website":null},"account":{"id":"109383687546708201","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"filtered":[]} | 751 | suite","website":null},"account":{"id":"109384260022953307","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"filtered":[]} |
682 | 752 | ||
683 | 753 | ||
684 | event: notification | 754 | event: notification |
685 | 755 | ||
686 | data: {"id":"6","type":"mention","created_at":"2022-11-21T20:30:38.306Z","account":{"id":"109383687317384970","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":2,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109383689011592842","created_at":"2022-11-21T20:30:37.506Z","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/109383689011592842","url":"http://localhost:3000/@admin/109383689011592842","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"<p><span | 756 | data: {"id":"15","type":"mention","created_at":"2022-11-21T23:06:20.086Z","account":{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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-21","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109384301260589758","created_at":"2022-11-21T23:06:19.685Z","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/109384301260589758","url":"http://localhost:3000/@admin/109384301260589758","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"<p><span |
687 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test\" class=\"u-url | 757 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test\" class=\"u-url |
688 | mention\">@<span>mastodonpy_test</span></a></span> beep beep I'm a jeep</p>","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 758 | mention\">@<span>mastodonpy_test</span></a></span> beep beep I'm a jeep</p>","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
689 | test suite","website":null},"account":{"id":"109383687317384970","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":2,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109383687546708201","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} | 759 | test suite","website":null},"account":{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} |
690 | 760 | ||
691 | 761 | ||
692 | event: update | 762 | event: update |
693 | 763 | ||
694 | data: {"id":"109383689018917158","created_at":"2022-11-21T20:30:37.619Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109383689018917158","url":"http://localhost:3000/@mastodonpy_test/109383689018917158","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"content":"<p><span | 764 | data: {"id":"109384301270458447","created_at":"2022-11-21T23:06:19.835Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109384301270458447","url":"http://localhost:3000/@mastodonpy_test/109384301270458447","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"content":"<p><span |
695 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test_2\" class=\"u-url | 765 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test_2\" class=\"u-url |
696 | mention\">@<span>mastodonpy_test_2</span></a></span> pssssst</p>","reblog":null,"application":{"name":"Mastodon.py | 766 | mention\">@<span>mastodonpy_test_2</span></a></span> pssssst</p>","reblog":null,"application":{"name":"Mastodon.py |
697 | test suite","website":null},"account":{"id":"109383687546708201","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109383687660136038","username":"mastodonpy_test_2","url":"http://localhost:3000/@mastodonpy_test_2","acct":"mastodonpy_test_2"}],"tags":[],"emojis":[],"card":null,"poll":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"filtered":[]} | 767 | test suite","website":null},"account":{"id":"109384260022953307","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260135049902","username":"mastodonpy_test_2","url":"http://localhost:3000/@mastodonpy_test_2","acct":"mastodonpy_test_2"}],"tags":[],"emojis":[],"card":null,"poll":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"filtered":[]} |
698 | 768 | ||
699 | 769 | ||
700 | event: notification | 770 | event: notification |
701 | 771 | ||
702 | data: {"id":"8","type":"mention","created_at":"2022-11-21T20:30:38.566Z","account":{"id":"109383687660136038","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"emojis":[],"fields":[]},"status":{"id":"109383689022578579","created_at":"2022-11-21T20:30:37.674Z","in_reply_to_id":"109383689018917158","in_reply_to_account_id":"109383687546708201","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109383689022578579","url":"http://localhost:3000/@mastodonpy_test_2/109383689022578579","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"<p><span | 772 | data: {"id":"17","type":"mention","created_at":"2022-11-21T23:06:21.025Z","account":{"id":"109384260135049902","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"emojis":[],"fields":[]},"status":{"id":"109384301340129379","created_at":"2022-11-21T23:06:20.898Z","in_reply_to_id":"109384301270458447","in_reply_to_account_id":"109384260022953307","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109384301340129379","url":"http://localhost:3000/@mastodonpy_test_2/109384301340129379","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"<p><span |
703 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test\" class=\"u-url | 773 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test\" class=\"u-url |
704 | mention\">@<span>mastodonpy_test</span></a></span> pssssst!</p>","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 774 | mention\">@<span>mastodonpy_test</span></a></span> pssssst!</p>","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
705 | test suite","website":null},"account":{"id":"109383687660136038","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109383687546708201","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} | 775 | test suite","website":null},"account":{"id":"109384260135049902","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} |
776 | |||
777 | |||
778 | event: status.update | ||
779 | |||
780 | data: {"id":"109384301257266974","created_at":"2022-11-21T23:06:19.635Z","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/109384301257266974","url":"http://localhost:3000/@mastodonpy_test/109384301257266974","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":"2022-11-21T23:06:22.970Z","content":"<p>only | ||
781 | real animals respond.</p>","reblog":null,"application":{"name":"Mastodon.py | ||
782 | test suite","website":null},"account":{"id":"109384260022953307","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"filtered":[]} | ||
706 | 783 | ||
707 | 784 | ||
708 | event: delete | 785 | event: delete |
709 | 786 | ||
710 | data: 109383689004693346 | 787 | data: 109384301257266974 |
711 | 788 | ||
712 | 789 | ||
713 | :' | 790 | :' |
@@ -725,7 +802,7 @@ interactions: | |||
725 | Content-Type: | 802 | Content-Type: |
726 | - text/event-stream | 803 | - text/event-stream |
727 | Date: | 804 | Date: |
728 | - Mon, 21 Nov 2022 20:30:32 GMT | 805 | - Mon, 21 Nov 2022 23:06:14 GMT |
729 | Keep-Alive: | 806 | Keep-Alive: |
730 | - timeout=5 | 807 | - timeout=5 |
731 | Transfer-Encoding: | 808 | Transfer-Encoding: |
@@ -733,7 +810,7 @@ interactions: | |||
733 | X-Powered-By: | 810 | X-Powered-By: |
734 | - Express | 811 | - Express |
735 | X-Request-Id: | 812 | X-Request-Id: |
736 | - 1c89d969-2e4e-43ad-a6f3-bad83b7601dc | 813 | - 35ba0be9-ecdf-452c-b427-78fdd4701b68 |
737 | status: | 814 | status: |
738 | code: 200 | 815 | code: 200 |
739 | message: OK | 816 | message: OK |
@@ -758,18 +835,18 @@ interactions: | |||
758 | 835 | ||
759 | event: conversation | 836 | event: conversation |
760 | 837 | ||
761 | data: {"id":"1","unread":false,"accounts":[{"id":"109383687660136038","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"emojis":[],"fields":[]}],"last_status":{"id":"109383689018917158","created_at":"2022-11-21T20:30:37.619Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109383689018917158","url":"http://localhost:3000/@mastodonpy_test/109383689018917158","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"<p><span | 838 | data: {"id":"7","unread":false,"accounts":[{"id":"109384260135049902","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"emojis":[],"fields":[]}],"last_status":{"id":"109384301270458447","created_at":"2022-11-21T23:06:19.835Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109384301270458447","url":"http://localhost:3000/@mastodonpy_test/109384301270458447","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"<p><span |
762 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test_2\" class=\"u-url | 839 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test_2\" class=\"u-url |
763 | mention\">@<span>mastodonpy_test_2</span></a></span> pssssst</p>","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 840 | mention\">@<span>mastodonpy_test_2</span></a></span> pssssst</p>","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
764 | test suite","website":null},"account":{"id":"109383687546708201","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109383687660136038","username":"mastodonpy_test_2","url":"http://localhost:3000/@mastodonpy_test_2","acct":"mastodonpy_test_2"}],"tags":[],"emojis":[],"card":null,"poll":null}} | 841 | test suite","website":null},"account":{"id":"109384260022953307","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":1,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260135049902","username":"mastodonpy_test_2","url":"http://localhost:3000/@mastodonpy_test_2","acct":"mastodonpy_test_2"}],"tags":[],"emojis":[],"card":null,"poll":null}} |
765 | 842 | ||
766 | 843 | ||
767 | event: conversation | 844 | event: conversation |
768 | 845 | ||
769 | data: {"id":"1","unread":true,"accounts":[{"id":"109383687660136038","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"emojis":[],"fields":[]}],"last_status":{"id":"109383689022578579","created_at":"2022-11-21T20:30:37.674Z","in_reply_to_id":"109383689018917158","in_reply_to_account_id":"109383687546708201","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109383689022578579","url":"http://localhost:3000/@mastodonpy_test_2/109383689022578579","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"<p><span | 846 | data: {"id":"7","unread":true,"accounts":[{"id":"109384260135049902","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"emojis":[],"fields":[]}],"last_status":{"id":"109384301340129379","created_at":"2022-11-21T23:06:20.898Z","in_reply_to_id":"109384301270458447","in_reply_to_account_id":"109384260022953307","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109384301340129379","url":"http://localhost:3000/@mastodonpy_test_2/109384301340129379","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"<p><span |
770 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test\" class=\"u-url | 847 | class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test\" class=\"u-url |
771 | mention\">@<span>mastodonpy_test</span></a></span> pssssst!</p>","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 848 | mention\">@<span>mastodonpy_test</span></a></span> pssssst!</p>","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
772 | test suite","website":null},"account":{"id":"109383687660136038","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109383687546708201","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} | 849 | test suite","website":null},"account":{"id":"109384260135049902","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}} |
773 | 850 | ||
774 | 851 | ||
775 | :' | 852 | :' |
@@ -787,7 +864,7 @@ interactions: | |||
787 | Content-Type: | 864 | Content-Type: |
788 | - text/event-stream | 865 | - text/event-stream |
789 | Date: | 866 | Date: |
790 | - Mon, 21 Nov 2022 20:30:32 GMT | 867 | - Mon, 21 Nov 2022 23:06:14 GMT |
791 | Keep-Alive: | 868 | Keep-Alive: |
792 | - timeout=5 | 869 | - timeout=5 |
793 | Transfer-Encoding: | 870 | Transfer-Encoding: |
@@ -795,7 +872,7 @@ interactions: | |||
795 | X-Powered-By: | 872 | X-Powered-By: |
796 | - Express | 873 | - Express |
797 | X-Request-Id: | 874 | X-Request-Id: |
798 | - 40898f6e-ad70-4108-b775-8c17a63346fe | 875 | - 82206929-26c7-4964-8c65-58107d5c6b6c |
799 | status: | 876 | status: |
800 | code: 200 | 877 | code: 200 |
801 | message: OK | 878 | message: OK |
diff --git a/tests/test_streaming.py b/tests/test_streaming.py index 721fabc..9b96ab8 100644 --- a/tests/test_streaming.py +++ b/tests/test_streaming.py | |||
@@ -321,13 +321,14 @@ def test_stream_user_direct(api, api2, api3): | |||
321 | notifications = [] | 321 | notifications = [] |
322 | deletes = [] | 322 | deletes = [] |
323 | conversations = [] | 323 | conversations = [] |
324 | edits = [] | ||
324 | listener = CallbackStreamListener( | 325 | listener = CallbackStreamListener( |
325 | update_handler = lambda x: updates.append(x), | 326 | update_handler = lambda x: updates.append(x), |
326 | local_update_handler = lambda x: local_updates.append(x), | 327 | local_update_handler = lambda x: local_updates.append(x), |
327 | notification_handler = lambda x: notifications.append(x), | 328 | notification_handler = lambda x: notifications.append(x), |
328 | delete_handler = lambda x: deletes.append(x), | 329 | delete_handler = lambda x: deletes.append(x), |
329 | conversation_handler = lambda x: conversations.append(x), | 330 | conversation_handler = lambda x: conversations.append(x), |
330 | status_update_handler = lambda x: 0, # TODO | 331 | status_update_handler = lambda x: edits.append(x), |
331 | filters_changed_handler = lambda x: 0, | 332 | filters_changed_handler = lambda x: 0, |
332 | announcement_handler = lambda x: 0, | 333 | announcement_handler = lambda x: 0, |
333 | announcement_reaction_handler = lambda x: 0, | 334 | announcement_reaction_handler = lambda x: 0, |
@@ -342,10 +343,13 @@ def test_stream_user_direct(api, api2, api3): | |||
342 | posted.append(api2.status_post("@mastodonpy_test beep beep I'm a jeep")) | 343 | posted.append(api2.status_post("@mastodonpy_test beep beep I'm a jeep")) |
343 | posted.append(api2.status_post("on the internet, nobody knows you're a plane")) | 344 | posted.append(api2.status_post("on the internet, nobody knows you're a plane")) |
344 | posted.append(api.status_post("@mastodonpy_test_2 pssssst", visibility="direct")) | 345 | posted.append(api.status_post("@mastodonpy_test_2 pssssst", visibility="direct")) |
346 | time.sleep(1) | ||
345 | posted.append(api3.status_post("@mastodonpy_test pssssst!", visibility="direct", in_reply_to_id=posted[-1])) | 347 | posted.append(api3.status_post("@mastodonpy_test pssssst!", visibility="direct", in_reply_to_id=posted[-1])) |
348 | time.sleep(2) | ||
349 | api.status_update(posted[0], "only real animals respond.") | ||
346 | time.sleep(1) | 350 | time.sleep(1) |
347 | api.status_delete(posted[0]) | 351 | api.status_delete(posted[0]) |
348 | time.sleep(10) | 352 | time.sleep(7) |
349 | streaming_close() | 353 | streaming_close() |
350 | 354 | ||
351 | t = threading.Thread(args=(), target=do_activities) | 355 | t = threading.Thread(args=(), target=do_activities) |
@@ -353,7 +357,7 @@ def test_stream_user_direct(api, api2, api3): | |||
353 | 357 | ||
354 | stream = api.stream_user(listener, run_async=True) | 358 | stream = api.stream_user(listener, run_async=True) |
355 | stream2 = api.stream_direct(listener, run_async=True) | 359 | stream2 = api.stream_direct(listener, run_async=True) |
356 | time.sleep(20) | 360 | time.sleep(25) |
357 | stream.close() | 361 | stream.close() |
358 | stream2.close() | 362 | stream2.close() |
359 | 363 | ||
@@ -362,6 +366,7 @@ def test_stream_user_direct(api, api2, api3): | |||
362 | assert len(notifications) == 2 | 366 | assert len(notifications) == 2 |
363 | assert len(deletes) == 1 | 367 | assert len(deletes) == 1 |
364 | assert len(conversations) == 2 | 368 | assert len(conversations) == 2 |
369 | assert len(edits) == 1 | ||
365 | 370 | ||
366 | assert updates[0].id == posted[0].id | 371 | assert updates[0].id == posted[0].id |
367 | assert deletes[0] == posted[0].id | 372 | assert deletes[0] == posted[0].id |