aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_stream_user.yaml')
-rw-r--r--tests/cassettes/test_stream_user.yaml620
1 files changed, 412 insertions, 208 deletions
diff --git a/tests/cassettes/test_stream_user.yaml b/tests/cassettes/test_stream_user.yaml
index 21bcbd3..8059906 100644
--- a/tests/cassettes/test_stream_user.yaml
+++ b/tests/cassettes/test_stream_user.yaml
@@ -2,256 +2,460 @@ interactions:
2- request: 2- request:
3 body: null 3 body: null
4 headers: 4 headers:
5 Accept: ['*/*'] 5 Accept:
6 Accept-Encoding: ['gzip, deflate'] 6 - '*/*'
7 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] 7 Accept-Encoding:
8 Connection: [keep-alive] 8 - gzip, deflate
9 User-Agent: [python-requests/2.18.4] 9 Authorization:
10 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
11 Connection:
12 - keep-alive
13 User-Agent:
14 - tests/v311
10 method: GET 15 method: GET
11 uri: http://localhost:3000/api/v1/accounts/verify_credentials 16 uri: http://localhost:3000/api/v1/accounts/verify_credentials
12 response: 17 response:
13 body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2020-02-22","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} 18 body:
19 string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
20 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"\u003cp\u003eI
21 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","followers_count":0,"following_count":0,"statuses_count":5,"last_status_at":"2022-11-07","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I
22 walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"follow_requests_count":0},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}'
14 headers: 23 headers:
15 Cache-Control: ['no-cache, no-store'] 24 Cache-Control:
16 Content-Type: [application/json; charset=utf-8] 25 - no-store
17 Referrer-Policy: [strict-origin-when-cross-origin] 26 Content-Security-Policy:
18 Transfer-Encoding: [chunked] 27 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
19 Vary: ['Accept-Encoding, Origin'] 28 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
20 X-Content-Type-Options: [nosniff] 29 style-src ''self'' http://localhost:3000 ''nonce-VUl1+/U3UieNfmVbhpn2FA=='';
21 X-Download-Options: [noopen] 30 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
22 X-Frame-Options: [SAMEORIGIN] 31 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
23 X-Permitted-Cross-Domain-Policies: [none] 32 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
24 X-Request-Id: [dfffefce-86e5-4564-b430-aec547de6984] 33 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
25 X-Runtime: ['0.047495'] 34 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
26 X-XSS-Protection: [1; mode=block] 35 worker-src ''self'' blob: http://localhost:3000'
27 content-length: ['699'] 36 Content-Type:
28 status: {code: 200, message: OK} 37 - application/json; charset=utf-8
38 ETag:
39 - W/"41bfd06ce7d76b72e812ecf3f112ca96"
40 Referrer-Policy:
41 - strict-origin-when-cross-origin
42 Transfer-Encoding:
43 - chunked
44 Vary:
45 - Accept, Origin
46 X-Content-Type-Options:
47 - nosniff
48 X-Download-Options:
49 - noopen
50 X-Frame-Options:
51 - SAMEORIGIN
52 X-Permitted-Cross-Domain-Policies:
53 - none
54 X-Request-Id:
55 - dc470e57-7714-4714-befb-9454dba8e53e
56 X-Runtime:
57 - '0.013379'
58 X-XSS-Protection:
59 - 1; mode=block
60 status:
61 code: 200
62 message: OK
29- request: 63- request:
30 body: null 64 body: null
31 headers: 65 headers:
32 Accept: ['*/*'] 66 Accept:
33 Accept-Encoding: ['gzip, deflate'] 67 - '*/*'
34 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] 68 Accept-Encoding:
35 Connection: [keep-alive] 69 - gzip, deflate
36 Content-Length: ['0'] 70 Authorization:
37 User-Agent: [python-requests/2.18.4] 71 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
72 Connection:
73 - keep-alive
74 Content-Length:
75 - '0'
76 User-Agent:
77 - tests/v311
38 method: POST 78 method: POST
39 uri: http://localhost:3000/api/v1/accounts/1/unfollow 79 uri: http://localhost:3000/api/v1/accounts/1234567890123456/unfollow
40 response: 80 response:
41 body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} 81 body:
82 string: '{"id":"1234567890123456","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}'
42 headers: 83 headers:
43 Cache-Control: ['no-cache, no-store'] 84 Cache-Control:
44 Content-Type: [application/json; charset=utf-8] 85 - no-store
45 Referrer-Policy: [strict-origin-when-cross-origin] 86 Content-Security-Policy:
46 Transfer-Encoding: [chunked] 87 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
47 Vary: ['Accept-Encoding, Origin'] 88 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
48 X-Content-Type-Options: [nosniff] 89 style-src ''self'' http://localhost:3000 ''nonce-HGB+rYfRb5TdQqMTKDe3bg=='';
49 X-Download-Options: [noopen] 90 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
50 X-Frame-Options: [SAMEORIGIN] 91 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
51 X-Permitted-Cross-Domain-Policies: [none] 92 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
52 X-Request-Id: [dd831a69-3672-401b-b929-64501e6dad90] 93 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
53 X-Runtime: ['0.077104'] 94 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
54 X-XSS-Protection: [1; mode=block] 95 worker-src ''self'' blob: http://localhost:3000'
55 content-length: ['211'] 96 Content-Type:
56 status: {code: 200, message: OK} 97 - application/json; charset=utf-8
98 ETag:
99 - W/"76448d2d20dfa7540764936ef5dbc7a9"
100 Referrer-Policy:
101 - strict-origin-when-cross-origin
102 Transfer-Encoding:
103 - chunked
104 Vary:
105 - Accept, Origin
106 X-Content-Type-Options:
107 - nosniff
108 X-Download-Options:
109 - noopen
110 X-Frame-Options:
111 - SAMEORIGIN
112 X-Permitted-Cross-Domain-Policies:
113 - none
114 X-Request-Id:
115 - ed999496-1cf4-411e-af8d-705cbbce363d
116 X-Runtime:
117 - '0.012251'
118 X-XSS-Protection:
119 - 1; mode=block
120 status:
121 code: 200
122 message: OK
57- request: 123- request:
58 body: null 124 body: null
59 headers: 125 headers:
60 Accept: ['*/*'] 126 Accept:
61 Accept-Encoding: ['gzip, deflate'] 127 - '*/*'
62 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] 128 Accept-Encoding:
63 Connection: [keep-alive] 129 - gzip, deflate
64 User-Agent: [python-requests/2.18.4] 130 Authorization:
131 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
132 Connection:
133 - keep-alive
134 User-Agent:
135 - tests/v311
65 method: GET 136 method: GET
66 uri: http://localhost:3000/api/v1/instance/ 137 uri: http://localhost:3000/api/v1/instance/
67 response: 138 response:
68 body: {string: '{"uri":"localhost","title":"Mastodon","short_description":"","description":"","email":"","version":"3.1.1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":3,"status_count":2,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"approval_required":false,"contact_account":null}'} 139 body:
140 string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.0.0rc1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":12,"domain_count":0},"thumbnail":"http://localhost:3000/packs/media/images/preview-6399aebd96ccf025654e2977454f168f.png","languages":["en"],"registrations":true,"approval_required":false,"invites_enabled":true,"configuration":{"accounts":{"max_featured_tags":10},"statuses":{"max_characters":500,"max_media_attachments":4,"characters_reserved_per_url":23},"media_attachments":{"supported_mime_types":["image/jpeg","image/png","image/gif","image/heic","image/heif","image/webp","image/avif","video/webm","video/mp4","video/quicktime","video/ogg","audio/wave","audio/wav","audio/x-wav","audio/x-pn-wave","audio/vnd.wave","audio/ogg","audio/vorbis","audio/mpeg","audio/mp3","audio/webm","audio/flac","audio/aac","audio/m4a","audio/x-m4a","audio/mp4","audio/3gpp","video/x-ms-asf"],"image_size_limit":10485760,"image_matrix_limit":16777216,"video_size_limit":41943040,"video_frame_rate_limit":60,"video_matrix_limit":2304000},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746}},"contact_account":null,"rules":[]}'
69 headers: 141 headers:
70 Cache-Control: ['max-age=180, public'] 142 Cache-Control:
71 Content-Type: [application/json; charset=utf-8] 143 - max-age=180, public
72 Date: ['Sat, 22 Feb 2020 19:29:49 GMT'] 144 Content-Security-Policy:
73 ETag: [W/"cd1a3127190394dbf4f025e256214f91"] 145 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
74 Referrer-Policy: [strict-origin-when-cross-origin] 146 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
75 Transfer-Encoding: [chunked] 147 style-src ''self'' http://localhost:3000 ''nonce-MGhUcpFP5NiP9JA+es1CtA=='';
76 Vary: ['Accept-Encoding, Origin'] 148 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
77 X-Content-Type-Options: [nosniff] 149 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
78 X-Download-Options: [noopen] 150 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
79 X-Frame-Options: [SAMEORIGIN] 151 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
80 X-Permitted-Cross-Domain-Policies: [none] 152 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
81 X-Request-Id: [7df52655-c83c-440b-9c5d-07efd7330a10] 153 worker-src ''self'' blob: http://localhost:3000'
82 X-Runtime: ['0.057121'] 154 Content-Type:
83 X-XSS-Protection: [1; mode=block] 155 - application/json; charset=utf-8
84 content-length: ['397'] 156 Date:
85 status: {code: 200, message: OK} 157 - Mon, 07 Nov 2022 20:27:00 GMT
158 ETag:
159 - W/"3a31f3d76ec6a43850bae6791245f3d2"
160 Referrer-Policy:
161 - strict-origin-when-cross-origin
162 Transfer-Encoding:
163 - chunked
164 Vary:
165 - Accept, Origin
166 X-Content-Type-Options:
167 - nosniff
168 X-Download-Options:
169 - noopen
170 X-Frame-Options:
171 - SAMEORIGIN
172 X-Permitted-Cross-Domain-Policies:
173 - none
174 X-Request-Id:
175 - fcfa8974-c335-4de6-bda1-f35e9f36492a
176 X-Runtime:
177 - '0.014457'
178 X-XSS-Protection:
179 - 1; mode=block
180 status:
181 code: 200
182 message: OK
86- request: 183- request:
87 body: status=only+real+cars+respond. 184 body: status=only+real+cars+respond.
88 headers: 185 headers:
89 Accept: ['*/*'] 186 Accept:
90 Accept-Encoding: ['gzip, deflate'] 187 - '*/*'
91 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] 188 Accept-Encoding:
92 Connection: [keep-alive] 189 - gzip, deflate
93 Content-Length: ['30'] 190 Authorization:
94 Content-Type: [application/x-www-form-urlencoded] 191 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
95 User-Agent: [python-requests/2.18.4] 192 Connection:
193 - keep-alive
194 Content-Length:
195 - '30'
196 Content-Type:
197 - application/x-www-form-urlencoded
198 User-Agent:
199 - tests/v311
96 method: POST 200 method: POST
97 uri: http://localhost:3000/api/v1/statuses 201 uri: http://localhost:3000/api/v1/statuses
98 response: 202 response:
99 body: {string: '{"id":"103704152961999435","created_at":"2020-02-22T19:29:54.978Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/103704152961999435","url":"http://localhost/@mastodonpy_test/103704152961999435","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eonly 203 body:
100 real cars respond.\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py 204 string: '{"id":"109304402746515031","created_at":"2022-11-07T20:27:05.112Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109304402746515031","url":"http://localhost:3000/@mastodonpy_test/109304402746515031","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eonly
101 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"discoverable":false,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} 205 real cars respond.\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
206 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
207 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"\u003cp\u003eI
208 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","followers_count":0,"following_count":0,"statuses_count":6,"last_status_at":"2022-11-07","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'
102 headers: 209 headers:
103 Cache-Control: ['no-cache, no-store'] 210 Cache-Control:
104 Content-Type: [application/json; charset=utf-8] 211 - no-store
105 Referrer-Policy: [strict-origin-when-cross-origin] 212 Content-Security-Policy:
106 Transfer-Encoding: [chunked] 213 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
107 Vary: ['Accept-Encoding, Origin'] 214 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
108 X-Content-Type-Options: [nosniff] 215 style-src ''self'' http://localhost:3000 ''nonce-lwAA1RiSe0klsF2DHzsUew=='';
109 X-Download-Options: [noopen] 216 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
110 X-Frame-Options: [SAMEORIGIN] 217 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
111 X-Permitted-Cross-Domain-Policies: [none] 218 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
112 X-Request-Id: [cb3b8790-eb19-4bc2-90c7-bd6585349770] 219 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
113 X-Runtime: ['0.213901'] 220 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
114 X-XSS-Protection: [1; mode=block] 221 worker-src ''self'' blob: http://localhost:3000'
115 content-length: ['1338'] 222 Content-Type:
116 status: {code: 200, message: OK} 223 - application/json; charset=utf-8
224 ETag:
225 - W/"951b26a97dbfb147554b288a9b2b68c6"
226 Referrer-Policy:
227 - strict-origin-when-cross-origin
228 Transfer-Encoding:
229 - chunked
230 Vary:
231 - Accept, Origin
232 X-Content-Type-Options:
233 - nosniff
234 X-Download-Options:
235 - noopen
236 X-Frame-Options:
237 - SAMEORIGIN
238 X-Permitted-Cross-Domain-Policies:
239 - none
240 X-RateLimit-Limit:
241 - '300'
242 X-RateLimit-Remaining:
243 - '188'
244 X-RateLimit-Reset:
245 - '2022-11-07T21:00:00.140150Z'
246 X-Request-Id:
247 - a4490d58-07cb-4db0-a23c-95210e0d3f30
248 X-Runtime:
249 - '0.040637'
250 X-XSS-Protection:
251 - 1; mode=block
252 status:
253 code: 200
254 message: OK
117- request: 255- request:
118 body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep 256 body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep
119 headers: 257 headers:
120 Accept: ['*/*'] 258 Accept:
121 Accept-Encoding: ['gzip, deflate'] 259 - '*/*'
122 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] 260 Accept-Encoding:
123 Connection: [keep-alive] 261 - gzip, deflate
124 Content-Length: ['48'] 262 Authorization:
125 Content-Type: [application/x-www-form-urlencoded] 263 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2
126 User-Agent: [python-requests/2.18.4] 264 Connection:
265 - keep-alive
266 Content-Length:
267 - '48'
268 Content-Type:
269 - application/x-www-form-urlencoded
270 User-Agent:
271 - tests/v311
127 method: POST 272 method: POST
128 uri: http://localhost:3000/api/v1/statuses 273 uri: http://localhost:3000/api/v1/statuses
129 response: 274 response:
130 body: {string: '{"id":"103704152979846395","created_at":"2020-02-22T19:29:55.300Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704152979846395","url":"http://localhost/@admin/103704152979846395","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003e\u003cspan 275 body:
131 class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url 276 string: '{"id":"109304402749964987","created_at":"2022-11-07T20:27:05.166Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109304402749964987","url":"http://localhost:3000/@admin/109304402749964987","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003e\u003cspan
132 mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e 277 class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
133 beep beep I\u0026apos;m a jeep\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py 278 class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
134 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'} 279 beep beep I\u0026#39;m a jeep\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
280 test suite","website":null},"account":{"id":"109304268902557892","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":8,"last_status_at":"2022-11-07","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'
135 headers: 281 headers:
136 Cache-Control: ['no-cache, no-store'] 282 Cache-Control:
137 Content-Type: [application/json; charset=utf-8] 283 - no-store
138 Referrer-Policy: [strict-origin-when-cross-origin] 284 Content-Security-Policy:
139 Transfer-Encoding: [chunked] 285 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
140 Vary: ['Accept-Encoding, Origin'] 286 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
141 X-Content-Type-Options: [nosniff] 287 style-src ''self'' http://localhost:3000 ''nonce-S0SpDbUf2W4dE627mFMCaQ=='';
142 X-Download-Options: [noopen] 288 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
143 X-Frame-Options: [SAMEORIGIN] 289 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
144 X-Permitted-Cross-Domain-Policies: [none] 290 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
145 X-Request-Id: [275b0083-fecb-4345-b412-ea1c04219668] 291 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
146 X-Runtime: ['0.382119'] 292 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
147 X-XSS-Protection: [1; mode=block] 293 worker-src ''self'' blob: http://localhost:3000'
148 content-length: ['1594'] 294 Content-Type:
149 status: {code: 200, message: OK} 295 - application/json; charset=utf-8
296 ETag:
297 - W/"0d096f7712f6d052de847691c0a8cd1e"
298 Referrer-Policy:
299 - strict-origin-when-cross-origin
300 Transfer-Encoding:
301 - chunked
302 Vary:
303 - Accept, Origin
304 X-Content-Type-Options:
305 - nosniff
306 X-Download-Options:
307 - noopen
308 X-Frame-Options:
309 - SAMEORIGIN
310 X-Permitted-Cross-Domain-Policies:
311 - none
312 X-RateLimit-Limit:
313 - '300'
314 X-RateLimit-Remaining:
315 - '284'
316 X-RateLimit-Reset:
317 - '2022-11-07T21:00:00.196227Z'
318 X-Request-Id:
319 - a2193971-0857-4d22-b11f-231bdedf84a1
320 X-Runtime:
321 - '0.051157'
322 X-XSS-Protection:
323 - 1; mode=block
324 status:
325 code: 200
326 message: OK
150- request: 327- request:
151 body: status=on+the+internet%2C+nobody+knows+you%27re+a+plane 328 body: status=on+the+internet%2C+nobody+knows+you%27re+a+plane
152 headers: 329 headers:
153 Accept: ['*/*'] 330 Accept:
154 Accept-Encoding: ['gzip, deflate'] 331 - '*/*'
155 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] 332 Accept-Encoding:
156 Connection: [keep-alive] 333 - gzip, deflate
157 Content-Length: ['55'] 334 Authorization:
158 Content-Type: [application/x-www-form-urlencoded] 335 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2
159 User-Agent: [python-requests/2.18.4] 336 Connection:
337 - keep-alive
338 Content-Length:
339 - '55'
340 Content-Type:
341 - application/x-www-form-urlencoded
342 User-Agent:
343 - tests/v311
160 method: POST 344 method: POST
161 uri: http://localhost:3000/api/v1/statuses 345 uri: http://localhost:3000/api/v1/statuses
162 response: 346 response:
163 body: {string: '{"id":"103704153009330401","created_at":"2020-02-22T19:29:55.713Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704153009330401","url":"http://localhost/@admin/103704153009330401","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eon 347 body:
164 the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py 348 string: '{"id":"109304402753176887","created_at":"2022-11-07T20:27:05.215Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109304402753176887","url":"http://localhost:3000/@admin/109304402753176887","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eon
165 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":3,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} 349 the internet, nobody knows you\u0026#39;re a plane\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
350 test suite","website":null},"account":{"id":"109304268902557892","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":9,"last_status_at":"2022-11-07","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'
166 headers: 351 headers:
167 Cache-Control: ['no-cache, no-store'] 352 Cache-Control:
168 Content-Type: [application/json; charset=utf-8] 353 - no-store
169 Referrer-Policy: [strict-origin-when-cross-origin] 354 Content-Security-Policy:
170 Transfer-Encoding: [chunked] 355 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
171 Vary: ['Accept-Encoding, Origin'] 356 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
172 X-Content-Type-Options: [nosniff] 357 style-src ''self'' http://localhost:3000 ''nonce-MYfq6GEw6OuVekqlsK8vZw=='';
173 X-Download-Options: [noopen] 358 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
174 X-Frame-Options: [SAMEORIGIN] 359 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
175 X-Permitted-Cross-Domain-Policies: [none] 360 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
176 X-Request-Id: [16e4ad84-c824-4d41-94fa-38136a5fd055] 361 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
177 X-Runtime: ['0.373721'] 362 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
178 X-XSS-Protection: [1; mode=block] 363 worker-src ''self'' blob: http://localhost:3000'
179 content-length: ['1303'] 364 Content-Type:
180 status: {code: 200, message: OK} 365 - application/json; charset=utf-8
366 ETag:
367 - W/"e41978db3e5751e4a28c2fe4eb716664"
368 Referrer-Policy:
369 - strict-origin-when-cross-origin
370 Transfer-Encoding:
371 - chunked
372 Vary:
373 - Accept, Origin
374 X-Content-Type-Options:
375 - nosniff
376 X-Download-Options:
377 - noopen
378 X-Frame-Options:
379 - SAMEORIGIN
380 X-Permitted-Cross-Domain-Policies:
381 - none
382 X-RateLimit-Limit:
383 - '300'
384 X-RateLimit-Remaining:
385 - '283'
386 X-RateLimit-Reset:
387 - '2022-11-07T21:00:00.237489Z'
388 X-Request-Id:
389 - ad50e460-5d55-457d-b719-c9c8f03789f5
390 X-Runtime:
391 - '0.036905'
392 X-XSS-Protection:
393 - 1; mode=block
394 status:
395 code: 200
396 message: OK
181- request: 397- request:
182 body: null 398 body: null
183 headers: 399 headers:
184 Accept: ['*/*'] 400 Accept:
185 Accept-Encoding: ['gzip, deflate'] 401 - '*/*'
186 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] 402 Accept-Encoding:
187 Connection: [keep-alive] 403 - gzip, deflate
188 Content-Length: ['0'] 404 Authorization:
189 User-Agent: [python-requests/2.18.4] 405 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
406 Connection:
407 - keep-alive
408 Content-Length:
409 - '0'
410 User-Agent:
411 - tests/v311
190 method: DELETE 412 method: DELETE
191 uri: http://localhost:3000/api/v1/statuses/103704152961999435 413 uri: http://localhost:3000/api/v1/statuses/109304402746515031
192 response: 414 response:
193 body: {string: '{"id":"103704152961999435","created_at":"2020-02-22T19:29:54.978Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/103704152961999435","url":"http://localhost/@mastodonpy_test/103704152961999435","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"only 415 body:
194 real cars respond.","reblog":null,"application":{"name":"Mastodon.py test 416 string: '{"id":"109304402746515031","created_at":"2022-11-07T20:27:05.112Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109304402746515031","url":"http://localhost:3000/@mastodonpy_test/109304402746515031","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"only
195 suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"discoverable":false,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} 417 real cars respond.","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
418 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
419 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"\u003cp\u003eI
420 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","followers_count":0,"following_count":0,"statuses_count":5,"last_status_at":"2022-11-07","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'
196 headers: 421 headers:
197 Cache-Control: ['no-cache, no-store'] 422 Cache-Control:
198 Content-Type: [application/json; charset=utf-8] 423 - no-store
199 Referrer-Policy: [strict-origin-when-cross-origin] 424 Content-Security-Policy:
200 Transfer-Encoding: [chunked] 425 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
201 Vary: ['Accept-Encoding, Origin'] 426 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
202 X-Content-Type-Options: [nosniff] 427 style-src ''self'' http://localhost:3000 ''nonce-rPI4ROrtmNt+SCZjt6KI1A=='';
203 X-Download-Options: [noopen] 428 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
204 X-Frame-Options: [SAMEORIGIN] 429 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
205 X-Permitted-Cross-Domain-Policies: [none] 430 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
206 X-Request-Id: [d09f676f-00e6-4b45-b20a-22089c1b053a] 431 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
207 X-Runtime: ['0.171114'] 432 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
208 X-XSS-Protection: [1; mode=block] 433 worker-src ''self'' blob: http://localhost:3000'
209 content-length: ['1308'] 434 Content-Type:
210 status: {code: 200, message: OK} 435 - application/json; charset=utf-8
211- request: 436 ETag:
212 body: null 437 - W/"44e84ee8d59b0edbd95491cbb81af808"
213 headers: 438 Referrer-Policy:
214 Accept: ['*/*'] 439 - strict-origin-when-cross-origin
215 Accept-Encoding: ['gzip, deflate'] 440 Transfer-Encoding:
216 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] 441 - chunked
217 Connection: [keep-alive] 442 Vary:
218 User-Agent: [python-requests/2.18.4] 443 - Accept, Origin
219 method: GET 444 X-Content-Type-Options:
220 uri: http://localhost:4000/api/v1/streaming/user 445 - nosniff
221 response: 446 X-Download-Options:
222 body: {string: ':) 447 - noopen
223 448 X-Frame-Options:
224 event: update 449 - SAMEORIGIN
225 450 X-Permitted-Cross-Domain-Policies:
226 data: {"id":"103704152961999435","created_at":"2020-02-22T19:29:54.978Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/103704152961999435","url":"http://localhost/@mastodonpy_test/103704152961999435","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"<p>only 451 - none
227 real cars respond.</p>","reblog":null,"application":{"name":"Mastodon.py test 452 X-Request-Id:
228 suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"discoverable":false,"group":false,"created_at":"2020-02-22T20:26:54.402Z","note":"<p></p>","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null} 453 - 50faf584-99b3-46f6-9f58-bd913132e646
229 454 X-Runtime:
230 455 - '0.027604'
231 event: notification 456 X-XSS-Protection:
232 457 - 1; mode=block
233 data: {"id":"14","type":"mention","created_at":"2020-02-22T19:29:55.497Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"<p></p>","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"status":{"id":"103704152979846395","created_at":"2020-02-22T19:29:55.300Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704152979846395","url":"http://localhost/@admin/103704152979846395","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"<p><span 458 status:
234 class=\"h-card\"><a href=\"http://localhost/@mastodonpy_test\" class=\"u-url 459 code: 200
235 mention\">@<span>mastodonpy_test</span></a></span> beep beep I&apos;m a jeep</p>","reblog":null,"application":{"name":"Mastodon.py 460 message: OK
236 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"<p></p>","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}}
237
238
239 event: delete
240
241 data: 103704152961999435
242
243
244 :'}
245 headers:
246 Access-Control-Allow-Headers: ['Authorization, Accept, Cache-Control']
247 Access-Control-Allow-Methods: ['GET, OPTIONS']
248 Access-Control-Allow-Origin: ['*']
249 Cache-Control: [no-store]
250 Connection: [keep-alive]
251 Content-Type: [text/event-stream]
252 Date: ['Sat, 22 Feb 2020 19:29:49 GMT']
253 Transfer-Encoding: [chunked]
254 X-Powered-By: [Express]
255 X-Request-Id: [5062171c-840e-41c2-93f8-c8a2eb1281a5]
256 status: {code: 200, message: OK}
257version: 1 461version: 1
Powered by cgit v1.2.3 (git 2.41.0)