diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-21 22:34:12 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-21 22:34:12 +0200 |
commit | 6abaff55e7e78b83bd03af9f370a1256e7271b4a (patch) | |
tree | 976002d07332d591c554892495352172bf609c09 /tests/cassettes/test_unauthed_home_tl_throws.yaml | |
parent | f78298066fb676f84532caa2abc14b0970428acc (diff) | |
download | mastodon.py-6abaff55e7e78b83bd03af9f370a1256e7271b4a.tar.gz |
Refresh tests
Diffstat (limited to 'tests/cassettes/test_unauthed_home_tl_throws.yaml')
-rw-r--r-- | tests/cassettes/test_unauthed_home_tl_throws.yaml | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/tests/cassettes/test_unauthed_home_tl_throws.yaml b/tests/cassettes/test_unauthed_home_tl_throws.yaml index d4c73b6..69f003d 100644 --- a/tests/cassettes/test_unauthed_home_tl_throws.yaml +++ b/tests/cassettes/test_unauthed_home_tl_throws.yaml | |||
@@ -20,17 +20,17 @@ interactions: | |||
20 | uri: http://localhost:3000/api/v1/statuses | 20 | uri: http://localhost:3000/api/v1/statuses |
21 | response: | 21 | response: |
22 | body: | 22 | body: |
23 | string: '{"id":"109367704083854096","created_at":"2022-11-19T00:45:26.866Z","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/109367704083854096","url":"http://localhost:3000/@mastodonpy_test/109367704083854096","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 23 | string: '{"id":"109383677970880146","created_at":"2022-11-21T20:27:49.040Z","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/109383677970880146","url":"http://localhost:3000/@mastodonpy_test/109383677970880146","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
24 | test suite","website":null},"account":{"id":"109367691239664003","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 24 | test suite","website":null},"account":{"id":"109383664973470793","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
25 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00:00:00.000Z","note":"\u003cp\u003eI | 25 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"\u003cp\u003eI |
26 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","header":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","followers_count":0,"following_count":0,"statuses_count":5,"last_status_at":"2022-11-19","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}' | 26 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","header":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","followers_count":0,"following_count":0,"statuses_count":6,"last_status_at":"2022-11-21","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}' |
27 | headers: | 27 | headers: |
28 | Cache-Control: | 28 | Cache-Control: |
29 | - no-store | 29 | - no-store |
30 | Content-Security-Policy: | 30 | Content-Security-Policy: |
31 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 31 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
32 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 32 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
33 | style-src ''self'' http://localhost:3000 ''nonce-nrvvcFXpaRzJA0Sxt84Vfw==''; | 33 | style-src ''self'' http://localhost:3000 ''nonce-h9uOfpXhJIAOguySov+WfA==''; |
34 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 34 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
35 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 35 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
36 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 36 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -40,7 +40,7 @@ interactions: | |||
40 | Content-Type: | 40 | Content-Type: |
41 | - application/json; charset=utf-8 | 41 | - application/json; charset=utf-8 |
42 | ETag: | 42 | ETag: |
43 | - W/"d3e86486ead5e3427a563349e97ff679" | 43 | - W/"83e6fde6686bc6892f3bea8419fe7c70" |
44 | Referrer-Policy: | 44 | Referrer-Policy: |
45 | - strict-origin-when-cross-origin | 45 | - strict-origin-when-cross-origin |
46 | Transfer-Encoding: | 46 | Transfer-Encoding: |
@@ -58,13 +58,13 @@ interactions: | |||
58 | X-RateLimit-Limit: | 58 | X-RateLimit-Limit: |
59 | - '300' | 59 | - '300' |
60 | X-RateLimit-Remaining: | 60 | X-RateLimit-Remaining: |
61 | - '194' | 61 | - '193' |
62 | X-RateLimit-Reset: | 62 | X-RateLimit-Reset: |
63 | - '2022-11-19T03:00:00.888361Z' | 63 | - '2022-11-21T21:00:00.062980Z' |
64 | X-Request-Id: | 64 | X-Request-Id: |
65 | - eaaf02e2-8cfa-4944-a50f-f55b842ae603 | 65 | - 53967192-8f53-4d23-b93e-350d028663a6 |
66 | X-Runtime: | 66 | X-Runtime: |
67 | - '0.035174' | 67 | - '0.036761' |
68 | X-XSS-Protection: | 68 | X-XSS-Protection: |
69 | - 1; mode=block | 69 | - 1; mode=block |
70 | status: | 70 | status: |
@@ -92,7 +92,7 @@ interactions: | |||
92 | Content-Security-Policy: | 92 | Content-Security-Policy: |
93 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 93 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
94 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 94 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
95 | style-src ''self'' http://localhost:3000 ''nonce-cAenZgKHVxIcpkycT/IuAw==''; | 95 | style-src ''self'' http://localhost:3000 ''nonce-5kiHw+z/g3Sg3hwQB1Mt3g==''; |
96 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 96 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
97 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 97 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
98 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 98 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -121,9 +121,9 @@ interactions: | |||
121 | X-Permitted-Cross-Domain-Policies: | 121 | X-Permitted-Cross-Domain-Policies: |
122 | - none | 122 | - none |
123 | X-Request-Id: | 123 | X-Request-Id: |
124 | - f604b080-bae1-459a-bef8-c5d4c7425f50 | 124 | - 902e16f0-6d09-4ce7-91fd-6146c8ea0c24 |
125 | X-Runtime: | 125 | X-Runtime: |
126 | - '0.007359' | 126 | - '0.007252' |
127 | X-XSS-Protection: | 127 | X-XSS-Protection: |
128 | - 1; mode=block | 128 | - 1; mode=block |
129 | status: | 129 | status: |
@@ -145,20 +145,20 @@ interactions: | |||
145 | User-Agent: | 145 | User-Agent: |
146 | - tests/v311 | 146 | - tests/v311 |
147 | method: DELETE | 147 | method: DELETE |
148 | uri: http://localhost:3000/api/v1/statuses/109367704083854096 | 148 | uri: http://localhost:3000/api/v1/statuses/109383677970880146 |
149 | response: | 149 | response: |
150 | body: | 150 | body: |
151 | string: '{"id":"109367704083854096","created_at":"2022-11-19T00:45:26.866Z","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/109367704083854096","url":"http://localhost:3000/@mastodonpy_test/109367704083854096","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Toot!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 151 | string: '{"id":"109383677970880146","created_at":"2022-11-21T20:27:49.040Z","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/109383677970880146","url":"http://localhost:3000/@mastodonpy_test/109383677970880146","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Toot!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
152 | test suite","website":null},"account":{"id":"109367691239664003","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 152 | test suite","website":null},"account":{"id":"109383664973470793","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
153 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00:00:00.000Z","note":"\u003cp\u003eI | 153 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"\u003cp\u003eI |
154 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","header":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","followers_count":0,"following_count":0,"statuses_count":4,"last_status_at":"2022-11-19","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}' | 154 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","header":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","followers_count":0,"following_count":0,"statuses_count":5,"last_status_at":"2022-11-21","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}' |
155 | headers: | 155 | headers: |
156 | Cache-Control: | 156 | Cache-Control: |
157 | - no-store | 157 | - no-store |
158 | Content-Security-Policy: | 158 | Content-Security-Policy: |
159 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 159 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
160 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 160 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
161 | style-src ''self'' http://localhost:3000 ''nonce-varmQsohaNHtuhdf3zz4Eg==''; | 161 | style-src ''self'' http://localhost:3000 ''nonce-0GCzRejQPXvcDVdvf0uT/Q==''; |
162 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 162 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
163 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 163 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
164 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 164 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -168,7 +168,7 @@ interactions: | |||
168 | Content-Type: | 168 | Content-Type: |
169 | - application/json; charset=utf-8 | 169 | - application/json; charset=utf-8 |
170 | ETag: | 170 | ETag: |
171 | - W/"c9fef7e32383957ef9c07473bd9ea834" | 171 | - W/"dd5957f9b82d40cccef061f73ba25bc1" |
172 | Referrer-Policy: | 172 | Referrer-Policy: |
173 | - strict-origin-when-cross-origin | 173 | - strict-origin-when-cross-origin |
174 | Transfer-Encoding: | 174 | Transfer-Encoding: |
@@ -184,9 +184,9 @@ interactions: | |||
184 | X-Permitted-Cross-Domain-Policies: | 184 | X-Permitted-Cross-Domain-Policies: |
185 | - none | 185 | - none |
186 | X-Request-Id: | 186 | X-Request-Id: |
187 | - 6d2a3f57-3ea4-45b1-b203-12d13d186573 | 187 | - 6466e2c8-a469-455e-856e-b5eebfe78576 |
188 | X-Runtime: | 188 | X-Runtime: |
189 | - '0.026004' | 189 | - '0.026334' |
190 | X-XSS-Protection: | 190 | X-XSS-Protection: |
191 | - 1; mode=block | 191 | - 1; mode=block |
192 | status: | 192 | status: |