diff options
Diffstat (limited to 'tests/cassettes/test_status.yaml')
-rw-r--r-- | tests/cassettes/test_status.yaml | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/tests/cassettes/test_status.yaml b/tests/cassettes/test_status.yaml index 5c289de..bb1ba60 100644 --- a/tests/cassettes/test_status.yaml +++ b/tests/cassettes/test_status.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":"109367697632745041","created_at":"2022-11-19T00:43:48.431Z","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/109367697632745041","url":"http://localhost:3000/@mastodonpy_test/109367697632745041","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":"109383670862296220","created_at":"2022-11-21T20:26:00.570Z","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/109383670862296220","url":"http://localhost:3000/@mastodonpy_test/109383670862296220","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":26,"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":13,"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-nF5gFTPx2V5BJAXYgkxNuQ==''; | 33 | style-src ''self'' http://localhost:3000 ''nonce-XSujnU3Jmi67II9JKk0VQw==''; |
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/"11def699b137aabd5fc797ab03c80f6a" | 43 | - W/"3dfa5e2cb9f0f40fd1e8e179ba528190" |
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 | - '220' | 61 | - '220' |
62 | X-RateLimit-Reset: | 62 | X-RateLimit-Reset: |
63 | - '2022-11-19T03:00:00.453815Z' | 63 | - '2022-11-21T21:00:00.592894Z' |
64 | X-Request-Id: | 64 | X-Request-Id: |
65 | - 8909808e-979f-41da-a37d-aaf98beec29d | 65 | - 9f85a2fc-0756-48b2-837c-b437245458d7 |
66 | X-Runtime: | 66 | X-Runtime: |
67 | - '0.036791' | 67 | - '0.036822' |
68 | X-XSS-Protection: | 68 | X-XSS-Protection: |
69 | - 1; mode=block | 69 | - 1; mode=block |
70 | status: | 70 | status: |
@@ -84,20 +84,20 @@ 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/109367697632745041 | 87 | uri: http://localhost:3000/api/v1/statuses/109383670862296220 |
88 | response: | 88 | response: |
89 | body: | 89 | body: |
90 | string: '{"id":"109367697632745041","created_at":"2022-11-19T00:43:48.431Z","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/109367697632745041","url":"http://localhost:3000/@mastodonpy_test/109367697632745041","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 | 90 | string: '{"id":"109383670862296220","created_at":"2022-11-21T20:26:00.570Z","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/109383670862296220","url":"http://localhost:3000/@mastodonpy_test/109383670862296220","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 |
91 | test suite","website":null},"account":{"id":"109367691239664003","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 91 | test suite","website":null},"account":{"id":"109383664973470793","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
92 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00:00:00.000Z","note":"\u003cp\u003eI | 92 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"\u003cp\u003eI |
93 | 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":26,"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}' | 93 | 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":13,"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}' |
94 | headers: | 94 | headers: |
95 | Cache-Control: | 95 | Cache-Control: |
96 | - no-store | 96 | - no-store |
97 | Content-Security-Policy: | 97 | Content-Security-Policy: |
98 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 98 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
99 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 99 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
100 | style-src ''self'' http://localhost:3000 ''nonce-iueevRWurcSp/bxTbZ5Mqg==''; | 100 | style-src ''self'' http://localhost:3000 ''nonce-CfFXoXAf6lWzJRCFNeQTpw==''; |
101 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 101 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
102 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 102 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
103 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 103 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -107,7 +107,7 @@ interactions: | |||
107 | Content-Type: | 107 | Content-Type: |
108 | - application/json; charset=utf-8 | 108 | - application/json; charset=utf-8 |
109 | ETag: | 109 | ETag: |
110 | - W/"11def699b137aabd5fc797ab03c80f6a" | 110 | - W/"3dfa5e2cb9f0f40fd1e8e179ba528190" |
111 | Referrer-Policy: | 111 | Referrer-Policy: |
112 | - strict-origin-when-cross-origin | 112 | - strict-origin-when-cross-origin |
113 | Transfer-Encoding: | 113 | Transfer-Encoding: |
@@ -123,9 +123,9 @@ interactions: | |||
123 | X-Permitted-Cross-Domain-Policies: | 123 | X-Permitted-Cross-Domain-Policies: |
124 | - none | 124 | - none |
125 | X-Request-Id: | 125 | X-Request-Id: |
126 | - 68b359f3-fcde-4241-aba2-3235f23ba540 | 126 | - 502bdfcc-16f4-4ecc-99c1-f93d6d494c0e |
127 | X-Runtime: | 127 | X-Runtime: |
128 | - '0.025326' | 128 | - '0.024484' |
129 | X-XSS-Protection: | 129 | X-XSS-Protection: |
130 | - 1; mode=block | 130 | - 1; mode=block |
131 | status: | 131 | status: |
@@ -147,20 +147,20 @@ interactions: | |||
147 | User-Agent: | 147 | User-Agent: |
148 | - tests/v311 | 148 | - tests/v311 |
149 | method: DELETE | 149 | method: DELETE |
150 | uri: http://localhost:3000/api/v1/statuses/109367697632745041 | 150 | uri: http://localhost:3000/api/v1/statuses/109383670862296220 |
151 | response: | 151 | response: |
152 | body: | 152 | body: |
153 | string: '{"id":"109367697632745041","created_at":"2022-11-19T00:43:48.431Z","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/109367697632745041","url":"http://localhost:3000/@mastodonpy_test/109367697632745041","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 | 153 | string: '{"id":"109383670862296220","created_at":"2022-11-21T20:26:00.570Z","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/109383670862296220","url":"http://localhost:3000/@mastodonpy_test/109383670862296220","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 |
154 | test suite","website":null},"account":{"id":"109367691239664003","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 154 | test suite","website":null},"account":{"id":"109383664973470793","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
155 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00:00:00.000Z","note":"\u003cp\u003eI | 155 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"\u003cp\u003eI |
156 | 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":24,"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}' | 156 | 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":12,"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}' |
157 | headers: | 157 | headers: |
158 | Cache-Control: | 158 | Cache-Control: |
159 | - no-store | 159 | - no-store |
160 | Content-Security-Policy: | 160 | Content-Security-Policy: |
161 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 161 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
162 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 162 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
163 | style-src ''self'' http://localhost:3000 ''nonce-2hHqgyapkX+PTB3DfHQm/w==''; | 163 | style-src ''self'' http://localhost:3000 ''nonce-JmlXUOURicnQWUrDwnqWFg==''; |
164 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 164 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
165 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 165 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
166 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 166 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -170,7 +170,7 @@ interactions: | |||
170 | Content-Type: | 170 | Content-Type: |
171 | - application/json; charset=utf-8 | 171 | - application/json; charset=utf-8 |
172 | ETag: | 172 | ETag: |
173 | - W/"41d5f058b597c2b948f87eda121632d4" | 173 | - W/"49f5647a187cb94add2c595ba9a97679" |
174 | Referrer-Policy: | 174 | Referrer-Policy: |
175 | - strict-origin-when-cross-origin | 175 | - strict-origin-when-cross-origin |
176 | Transfer-Encoding: | 176 | Transfer-Encoding: |
@@ -186,9 +186,9 @@ interactions: | |||
186 | X-Permitted-Cross-Domain-Policies: | 186 | X-Permitted-Cross-Domain-Policies: |
187 | - none | 187 | - none |
188 | X-Request-Id: | 188 | X-Request-Id: |
189 | - 46e23bdc-989b-4652-ac36-9e4994a8b94c | 189 | - f195b85d-d088-4221-988d-17bbef67efeb |
190 | X-Runtime: | 190 | X-Runtime: |
191 | - '0.027700' | 191 | - '0.026492' |
192 | X-XSS-Protection: | 192 | X-XSS-Protection: |
193 | - 1; mode=block | 193 | - 1; mode=block |
194 | status: | 194 | status: |