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_status_context.yaml | |
parent | f78298066fb676f84532caa2abc14b0970428acc (diff) | |
download | mastodon.py-6abaff55e7e78b83bd03af9f370a1256e7271b4a.tar.gz |
Refresh tests
Diffstat (limited to 'tests/cassettes/test_status_context.yaml')
-rw-r--r-- | tests/cassettes/test_status_context.yaml | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/tests/cassettes/test_status_context.yaml b/tests/cassettes/test_status_context.yaml index a4a0cf3..326dcc3 100644 --- a/tests/cassettes/test_status_context.yaml +++ b/tests/cassettes/test_status_context.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":"109367698317202123","created_at":"2022-11-19T00:43:58.874Z","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/109367698317202123","url":"http://localhost:3000/@mastodonpy_test/109367698317202123","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":"109383671548723927","created_at":"2022-11-21T20:26:11.044Z","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/109383671548723927","url":"http://localhost:3000/@mastodonpy_test/109383671548723927","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":3,"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":3,"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-hRgxZZG+Csi2ZnmiH2O19A==''; | 33 | style-src ''self'' http://localhost:3000 ''nonce-y2M6YU0ZZ5XUC96R48+UBw==''; |
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/"c2e207ae0fae519a74441e83004c4ef9" | 43 | - W/"c3dbd10eb5be6f199c7933b7757bb2f3" |
44 | Referrer-Policy: | 44 | Referrer-Policy: |
45 | - strict-origin-when-cross-origin | 45 | - strict-origin-when-cross-origin |
46 | Transfer-Encoding: | 46 | Transfer-Encoding: |
@@ -60,11 +60,11 @@ interactions: | |||
60 | X-RateLimit-Remaining: | 60 | X-RateLimit-Remaining: |
61 | - '217' | 61 | - '217' |
62 | X-RateLimit-Reset: | 62 | X-RateLimit-Reset: |
63 | - '2022-11-19T03:00:00.901695Z' | 63 | - '2022-11-21T21:00:00.065866Z' |
64 | X-Request-Id: | 64 | X-Request-Id: |
65 | - cc133649-1bc0-43d4-8102-27b09916238e | 65 | - ed2d02f6-5793-48dc-8ed0-7929734d05dd |
66 | X-Runtime: | 66 | X-Runtime: |
67 | - '0.040395' | 67 | - '0.034632' |
68 | X-XSS-Protection: | 68 | X-XSS-Protection: |
69 | - 1; mode=block | 69 | - 1; mode=block |
70 | status: | 70 | status: |
@@ -84,7 +84,7 @@ interactions: | |||
84 | User-Agent: | 84 | User-Agent: |
85 | - tests/v311 | 85 | - tests/v311 |
86 | method: GET | 86 | method: GET |
87 | uri: http://localhost:3000/api/v1/statuses/109367698317202123/context | 87 | uri: http://localhost:3000/api/v1/statuses/109383671548723927/context |
88 | response: | 88 | response: |
89 | body: | 89 | body: |
90 | string: '{"ancestors":[],"descendants":[]}' | 90 | string: '{"ancestors":[],"descendants":[]}' |
@@ -94,7 +94,7 @@ interactions: | |||
94 | Content-Security-Policy: | 94 | Content-Security-Policy: |
95 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 95 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
96 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 96 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
97 | style-src ''self'' http://localhost:3000 ''nonce-X4/3lGCMhlguj3pip1wEkA==''; | 97 | style-src ''self'' http://localhost:3000 ''nonce-ehgxxwMEVcHCl3IcueJYuw==''; |
98 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 98 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
99 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 99 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
100 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 100 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -120,9 +120,9 @@ interactions: | |||
120 | X-Permitted-Cross-Domain-Policies: | 120 | X-Permitted-Cross-Domain-Policies: |
121 | - none | 121 | - none |
122 | X-Request-Id: | 122 | X-Request-Id: |
123 | - 51f1fcfe-6afc-4475-8d0d-6da0e0dcce66 | 123 | - c76511d5-e82e-4ad6-8ffe-bdd521cd2279 |
124 | X-Runtime: | 124 | X-Runtime: |
125 | - '0.015575' | 125 | - '0.013859' |
126 | X-XSS-Protection: | 126 | X-XSS-Protection: |
127 | - 1; mode=block | 127 | - 1; mode=block |
128 | status: | 128 | status: |
@@ -144,20 +144,20 @@ interactions: | |||
144 | User-Agent: | 144 | User-Agent: |
145 | - tests/v311 | 145 | - tests/v311 |
146 | method: DELETE | 146 | method: DELETE |
147 | uri: http://localhost:3000/api/v1/statuses/109367698317202123 | 147 | uri: http://localhost:3000/api/v1/statuses/109383671548723927 |
148 | response: | 148 | response: |
149 | body: | 149 | body: |
150 | string: '{"id":"109367698317202123","created_at":"2022-11-19T00:43:58.874Z","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/109367698317202123","url":"http://localhost:3000/@mastodonpy_test/109367698317202123","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 | 150 | string: '{"id":"109383671548723927","created_at":"2022-11-21T20:26:11.044Z","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/109383671548723927","url":"http://localhost:3000/@mastodonpy_test/109383671548723927","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 | test suite","website":null},"account":{"id":"109367691239664003","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 151 | test suite","website":null},"account":{"id":"109383664973470793","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
152 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00:00:00.000Z","note":"\u003cp\u003eI | 152 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"\u003cp\u003eI |
153 | 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":2,"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}' | 153 | 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":2,"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}' |
154 | headers: | 154 | headers: |
155 | Cache-Control: | 155 | Cache-Control: |
156 | - no-store | 156 | - no-store |
157 | Content-Security-Policy: | 157 | Content-Security-Policy: |
158 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 158 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
159 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 159 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
160 | style-src ''self'' http://localhost:3000 ''nonce-HOPr8YTiLTmktAcv2z3Z3Q==''; | 160 | style-src ''self'' http://localhost:3000 ''nonce-oo18+mMbOTnffxujqt1IDw==''; |
161 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 161 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
162 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 162 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
163 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 163 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -167,7 +167,7 @@ interactions: | |||
167 | Content-Type: | 167 | Content-Type: |
168 | - application/json; charset=utf-8 | 168 | - application/json; charset=utf-8 |
169 | ETag: | 169 | ETag: |
170 | - W/"15bc01481cfaf7b3f34509405c56d627" | 170 | - W/"b8056acfde494564eca606d46fde1266" |
171 | Referrer-Policy: | 171 | Referrer-Policy: |
172 | - strict-origin-when-cross-origin | 172 | - strict-origin-when-cross-origin |
173 | Transfer-Encoding: | 173 | Transfer-Encoding: |
@@ -183,9 +183,9 @@ interactions: | |||
183 | X-Permitted-Cross-Domain-Policies: | 183 | X-Permitted-Cross-Domain-Policies: |
184 | - none | 184 | - none |
185 | X-Request-Id: | 185 | X-Request-Id: |
186 | - 5e040662-b672-44f0-be29-c267d6e0f5ae | 186 | - fae2a8c4-0e40-472d-9221-00b0d11c2b67 |
187 | X-Runtime: | 187 | X-Runtime: |
188 | - '0.030849' | 188 | - '0.034239' |
189 | X-XSS-Protection: | 189 | X-XSS-Protection: |
190 | - 1; mode=block | 190 | - 1; mode=block |
191 | status: | 191 | status: |