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 da9cecc..5c289de 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":"109337447835254433","created_at":"2022-11-13T16:30:53.152Z","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/109337447835254433","url":"http://localhost:3000/@mastodonpy_test/109337447835254433","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":"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 |
24 | test suite","website":null},"account":{"id":"109337440686176140","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 24 | test suite","website":null},"account":{"id":"109367691239664003","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
25 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI | 25 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00: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/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","header":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","followers_count":0,"following_count":0,"statuses_count":29,"last_status_at":"2022-11-13","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/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}' |
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-NMkr0a0lN5jxILF9nDEwcA==''; | 33 | style-src ''self'' http://localhost:3000 ''nonce-nF5gFTPx2V5BJAXYgkxNuQ==''; |
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/"45698121fff11f30d45537459a47fdd8" | 43 | - W/"11def699b137aabd5fc797ab03c80f6a" |
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-13T18:00:00.171773Z' | 63 | - '2022-11-19T03:00:00.453815Z' |
64 | X-Request-Id: | 64 | X-Request-Id: |
65 | - 4b389050-f493-4618-99da-eb3953fe21ed | 65 | - 8909808e-979f-41da-a37d-aaf98beec29d |
66 | X-Runtime: | 66 | X-Runtime: |
67 | - '0.032574' | 67 | - '0.036791' |
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/109337447835254433 | 87 | uri: http://localhost:3000/api/v1/statuses/109367697632745041 |
88 | response: | 88 | response: |
89 | body: | 89 | body: |
90 | string: '{"id":"109337447835254433","created_at":"2022-11-13T16:30:53.152Z","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/109337447835254433","url":"http://localhost:3000/@mastodonpy_test/109337447835254433","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":"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 |
91 | test suite","website":null},"account":{"id":"109337440686176140","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 91 | test suite","website":null},"account":{"id":"109367691239664003","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
92 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI | 92 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00: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/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","header":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","followers_count":0,"following_count":0,"statuses_count":28,"last_status_at":"2022-11-13","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/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}' |
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-4lNq5b5OWysZomi5wtP+mQ==''; | 100 | style-src ''self'' http://localhost:3000 ''nonce-iueevRWurcSp/bxTbZ5Mqg==''; |
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/"d554f15f70d921651b8e5b58c416d1c3" | 110 | - W/"11def699b137aabd5fc797ab03c80f6a" |
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 | - 1dc16d62-8f89-4e48-8cf6-ad93cc77d06e | 126 | - 68b359f3-fcde-4241-aba2-3235f23ba540 |
127 | X-Runtime: | 127 | X-Runtime: |
128 | - '0.022181' | 128 | - '0.025326' |
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/109337447835254433 | 150 | uri: http://localhost:3000/api/v1/statuses/109367697632745041 |
151 | response: | 151 | response: |
152 | body: | 152 | body: |
153 | string: '{"id":"109337447835254433","created_at":"2022-11-13T16:30:53.152Z","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/109337447835254433","url":"http://localhost:3000/@mastodonpy_test/109337447835254433","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":"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 |
154 | test suite","website":null},"account":{"id":"109337440686176140","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 154 | test suite","website":null},"account":{"id":"109367691239664003","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
155 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI | 155 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00: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/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","header":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","followers_count":0,"following_count":0,"statuses_count":27,"last_status_at":"2022-11-13","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/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}' |
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-eo0jFBBL6mslz98ujLDGlw==''; | 163 | style-src ''self'' http://localhost:3000 ''nonce-2hHqgyapkX+PTB3DfHQm/w==''; |
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/"2d3d93d1c1dacfe80adab0904bd76f20" | 173 | - W/"41d5f058b597c2b948f87eda121632d4" |
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 | - df4f5f01-1ae5-4f97-b1de-b3da8e6960ca | 189 | - 46e23bdc-989b-4652-ac36-9e4994a8b94c |
190 | X-Runtime: | 190 | X-Runtime: |
191 | - '0.023748' | 191 | - '0.027700' |
192 | X-XSS-Protection: | 192 | X-XSS-Protection: |
193 | - 1; mode=block | 193 | - 1; mode=block |
194 | status: | 194 | status: |