diff options
Diffstat (limited to 'tests/cassettes/test_status.yaml')
-rw-r--r-- | tests/cassettes/test_status.yaml | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/tests/cassettes/test_status.yaml b/tests/cassettes/test_status.yaml index f745d09..d111626 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":"109304276322842835","created_at":"2022-11-07T19:54:56.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/109304276322842835","url":"http://localhost:3000/@mastodonpy_test/109304276322842835","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":"109336679816839496","created_at":"2022-11-13T13:15:34.120Z","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/109336679816839496","url":"http://localhost:3000/@mastodonpy_test/109336679816839496","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":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 24 | test suite","website":null},"account":{"id":"109336623311102204","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
25 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"\u003cp\u003eI | 25 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00: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/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":9,"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}' | 26 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","followers_count":0,"following_count":0,"statuses_count":16,"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}' |
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-LL2D9wJN4tHxSBo/u6sYxw==''; | 33 | style-src ''self'' http://localhost:3000 ''nonce-qGB9jlTZvH/j4tz0WodutA==''; |
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/"340fb382fe64af0059abab064c446de9" | 43 | - W/"705321669f071e753089e7e316413406" |
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 | - '223' | 61 | - '222' |
62 | X-RateLimit-Reset: | 62 | X-RateLimit-Reset: |
63 | - '2022-11-07T21:00:00.061907Z' | 63 | - '2022-11-13T15:00:00.142543Z' |
64 | X-Request-Id: | 64 | X-Request-Id: |
65 | - 5b892c81-210d-4909-bb37-1ea93f86f0d8 | 65 | - 296db61e-6d4d-4b41-94d9-9c72bd8cf9d6 |
66 | X-Runtime: | 66 | X-Runtime: |
67 | - '0.035066' | 67 | - '0.034846' |
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/109304276322842835 | 87 | uri: http://localhost:3000/api/v1/statuses/109336679816839496 |
88 | response: | 88 | response: |
89 | body: | 89 | body: |
90 | string: '{"id":"109304276322842835","created_at":"2022-11-07T19:54:56.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/109304276322842835","url":"http://localhost:3000/@mastodonpy_test/109304276322842835","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":"109336679816839496","created_at":"2022-11-13T13:15:34.120Z","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/109336679816839496","url":"http://localhost:3000/@mastodonpy_test/109336679816839496","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":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 91 | test suite","website":null},"account":{"id":"109336623311102204","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
92 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"\u003cp\u003eI | 92 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00: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/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":9,"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}' | 93 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","followers_count":0,"following_count":0,"statuses_count":16,"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}' |
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-/z98DBLaJrmffPpDVLTXiw==''; | 100 | style-src ''self'' http://localhost:3000 ''nonce-BDKuQzMhCXb5QJWnWHmyNg==''; |
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/"340fb382fe64af0059abab064c446de9" | 110 | - W/"705321669f071e753089e7e316413406" |
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 | - 875f798b-995a-45fb-bcd7-3abdbb034edd | 126 | - 4d892060-3986-4922-ac92-23c630a204f4 |
127 | X-Runtime: | 127 | X-Runtime: |
128 | - '0.024941' | 128 | - '0.025653' |
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/109304276322842835 | 150 | uri: http://localhost:3000/api/v1/statuses/109336679816839496 |
151 | response: | 151 | response: |
152 | body: | 152 | body: |
153 | string: '{"id":"109304276322842835","created_at":"2022-11-07T19:54:56.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/109304276322842835","url":"http://localhost:3000/@mastodonpy_test/109304276322842835","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":"109336679816839496","created_at":"2022-11-13T13:15:34.120Z","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/109336679816839496","url":"http://localhost:3000/@mastodonpy_test/109336679816839496","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":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 154 | test suite","website":null},"account":{"id":"109336623311102204","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
155 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"\u003cp\u003eI | 155 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00: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/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":8,"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}' | 156 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","followers_count":0,"following_count":0,"statuses_count":15,"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}' |
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-12UKaXtWyLquYKs86k5sHQ==''; | 163 | style-src ''self'' http://localhost:3000 ''nonce-sGrFt4+nhc5MXevyqQRamQ==''; |
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/"a4b3ff2fb608ceafa3fb82e64a323392" | 173 | - W/"d41937a25feee1b0f158882a08ff6323" |
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 | - 077110ea-f0bc-4ac0-8d6e-938a0b76e40f | 189 | - 6fe1a290-e38e-4cbe-98ff-70ec6798a586 |
190 | X-Runtime: | 190 | X-Runtime: |
191 | - '0.026770' | 191 | - '0.026503' |
192 | X-XSS-Protection: | 192 | X-XSS-Protection: |
193 | - 1; mode=block | 193 | - 1; mode=block |
194 | status: | 194 | status: |