aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_min_max_id_datetimes.yaml')
-rw-r--r--tests/cassettes/test_min_max_id_datetimes.yaml68
1 files changed, 34 insertions, 34 deletions
diff --git a/tests/cassettes/test_min_max_id_datetimes.yaml b/tests/cassettes/test_min_max_id_datetimes.yaml
index 63ff5a1..0fa79c5 100644
--- a/tests/cassettes/test_min_max_id_datetimes.yaml
+++ b/tests/cassettes/test_min_max_id_datetimes.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":"109367704809592898","created_at":"2022-11-19T00:45:37.941Z","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/109367704809592898","url":"http://localhost:3000/@mastodonpy_test/109367704809592898","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":"109383678678262424","created_at":"2022-11-21T20:27:59.833Z","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/109383678678262424","url":"http://localhost:3000/@mastodonpy_test/109383678678262424","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-n5WSLsf6DL2j2H6MCJ7nPg==''; 33 style-src ''self'' http://localhost:3000 ''nonce-4lvampecJanP5dtJbwtkHg=='';
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/"87066ef2e26224bb6f5fcdb23937fbdf" 43 - W/"ab1631fda737de8ed2bb691a9bae3b7c"
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 - '189' 61 - '188'
62 X-RateLimit-Reset: 62 X-RateLimit-Reset:
63 - '2022-11-19T03:00:00.962955Z' 63 - '2022-11-21T21:00:00.854304Z'
64 X-Request-Id: 64 X-Request-Id:
65 - 848e7c45-851c-4b48-a915-56995fc31940 65 - 57d49cf3-f509-4684-8225-581226dfa101
66 X-Runtime: 66 X-Runtime:
67 - '0.034948' 67 - '0.035268'
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/timelines/home?max_id=109367706058752000&min_id=109367703437312000 87 uri: http://localhost:3000/api/v1/timelines/home?max_id=109383679934464000&min_id=109383677313024000
88 response: 88 response:
89 body: 89 body:
90 string: '[{"id":"109367704809592898","created_at":"2022-11-19T00:45:37.941Z","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/109367704809592898","url":"http://localhost:3000/@mastodonpy_test/109367704809592898","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":"109383678678262424","created_at":"2022-11-21T20:27:59.833Z","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/109383678678262424","url":"http://localhost:3000/@mastodonpy_test/109383678678262424","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":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}]' 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":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}]'
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-3Oa4FY2N60/Gc7md9PH95Q==''; 100 style-src ''self'' http://localhost:3000 ''nonce-4Vq8/vH1xi6dfYjSWnCfPg=='';
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,10 +107,10 @@ 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/"2deb8ebf9d67e0800bd1832bd36998db" 110 - W/"85400a659e12fe0cbb2be758b7227b77"
111 Link: 111 Link:
112 - <http://localhost:3000/api/v1/timelines/home?max_id=109367704809592898>; rel="next", 112 - <http://localhost:3000/api/v1/timelines/home?max_id=109383678678262424>; rel="next",
113 <http://localhost:3000/api/v1/timelines/home?min_id=109367704809592898>; rel="prev" 113 <http://localhost:3000/api/v1/timelines/home?min_id=109383678678262424>; rel="prev"
114 Referrer-Policy: 114 Referrer-Policy:
115 - strict-origin-when-cross-origin 115 - strict-origin-when-cross-origin
116 Transfer-Encoding: 116 Transfer-Encoding:
@@ -126,9 +126,9 @@ interactions:
126 X-Permitted-Cross-Domain-Policies: 126 X-Permitted-Cross-Domain-Policies:
127 - none 127 - none
128 X-Request-Id: 128 X-Request-Id:
129 - b523a983-cd62-432c-b9b4-2617c22ed68f 129 - 23dee753-9c05-4cb6-91a1-fdb3850ddb08
130 X-Runtime: 130 X-Runtime:
131 - '0.021973' 131 - '0.022914'
132 X-XSS-Protection: 132 X-XSS-Protection:
133 - 1; mode=block 133 - 1; mode=block
134 status: 134 status:
@@ -148,7 +148,7 @@ interactions:
148 User-Agent: 148 User-Agent:
149 - tests/v311 149 - tests/v311
150 method: GET 150 method: GET
151 uri: http://localhost:3000/api/v1/timelines/home?max_id=109367707369472000&min_id=109367706058752000 151 uri: http://localhost:3000/api/v1/timelines/home?max_id=109383681245184000&min_id=109383679934464000
152 response: 152 response:
153 body: 153 body:
154 string: '[]' 154 string: '[]'
@@ -158,7 +158,7 @@ interactions:
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-1hdkAFG5QCKdMJ5DrXOGSA==''; 161 style-src ''self'' http://localhost:3000 ''nonce-eIUPiXpTr+LsWfllbQpOPg=='';
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
@@ -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 - 4d82aec5-d383-45ca-8571-2249918932bf 187 - f91ab5d8-f204-4cdc-a5b9-961496e7a593
188 X-Runtime: 188 X-Runtime:
189 - '0.009075' 189 - '0.010170'
190 X-XSS-Protection: 190 X-XSS-Protection:
191 - 1; mode=block 191 - 1; mode=block
192 status: 192 status:
@@ -208,20 +208,20 @@ interactions:
208 User-Agent: 208 User-Agent:
209 - tests/v311 209 - tests/v311
210 method: DELETE 210 method: DELETE
211 uri: http://localhost:3000/api/v1/statuses/109367704809592898 211 uri: http://localhost:3000/api/v1/statuses/109383678678262424
212 response: 212 response:
213 body: 213 body:
214 string: '{"id":"109367704809592898","created_at":"2022-11-19T00:45:37.941Z","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/109367704809592898","url":"http://localhost:3000/@mastodonpy_test/109367704809592898","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 214 string: '{"id":"109383678678262424","created_at":"2022-11-21T20:27:59.833Z","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/109383678678262424","url":"http://localhost:3000/@mastodonpy_test/109383678678262424","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
215 test suite","website":null},"account":{"id":"109367691239664003","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 215 test suite","website":null},"account":{"id":"109383664973470793","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
216 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00:00:00.000Z","note":"\u003cp\u003eI 216 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"\u003cp\u003eI
217 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}' 217 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}'
218 headers: 218 headers:
219 Cache-Control: 219 Cache-Control:
220 - no-store 220 - no-store
221 Content-Security-Policy: 221 Content-Security-Policy:
222 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 222 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
223 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 223 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
224 style-src ''self'' http://localhost:3000 ''nonce-bDEeghxQcxF/5pVwx13bGA==''; 224 style-src ''self'' http://localhost:3000 ''nonce-YnpVl7l19TTL74/Mjx2+Bg=='';
225 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 225 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
226 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 226 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
227 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 227 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -231,7 +231,7 @@ interactions:
231 Content-Type: 231 Content-Type:
232 - application/json; charset=utf-8 232 - application/json; charset=utf-8
233 ETag: 233 ETag:
234 - W/"c9bdb74cf03abca0d5b8aab2ad9e1503" 234 - W/"0fa78c4085a5abdaa590f37293764436"
235 Referrer-Policy: 235 Referrer-Policy:
236 - strict-origin-when-cross-origin 236 - strict-origin-when-cross-origin
237 Transfer-Encoding: 237 Transfer-Encoding:
@@ -247,9 +247,9 @@ interactions:
247 X-Permitted-Cross-Domain-Policies: 247 X-Permitted-Cross-Domain-Policies:
248 - none 248 - none
249 X-Request-Id: 249 X-Request-Id:
250 - b5650d42-772d-41f9-90ce-9ba06a268267 250 - aa704fb7-fe35-4d08-b281-b5c058e3ef10
251 X-Runtime: 251 X-Runtime:
252 - '0.036290' 252 - '0.025384'
253 X-XSS-Protection: 253 X-XSS-Protection:
254 - 1; mode=block 254 - 1; mode=block
255 status: 255 status:
Powered by cgit v1.2.3 (git 2.41.0)