aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_list_timeline.yaml')
-rw-r--r--tests/cassettes/test_list_timeline.yaml64
1 files changed, 32 insertions, 32 deletions
diff --git a/tests/cassettes/test_list_timeline.yaml b/tests/cassettes/test_list_timeline.yaml
index 12ff640..5e60f42 100644
--- a/tests/cassettes/test_list_timeline.yaml
+++ b/tests/cassettes/test_list_timeline.yaml
@@ -12,7 +12,7 @@ interactions:
12 method: POST 12 method: POST
13 uri: http://localhost:3000/api/v1/lists 13 uri: http://localhost:3000/api/v1/lists
14 response: 14 response:
15 body: {string: '{"id":"45","title":"ham burglars"}'} 15 body: {string: '{"id":"50","title":"ham burglars"}'}
16 headers: 16 headers:
17 Cache-Control: ['no-cache, no-store'] 17 Cache-Control: ['no-cache, no-store']
18 Content-Type: [application/json; charset=utf-8] 18 Content-Type: [application/json; charset=utf-8]
@@ -23,8 +23,8 @@ interactions:
23 X-Download-Options: [noopen] 23 X-Download-Options: [noopen]
24 X-Frame-Options: [SAMEORIGIN] 24 X-Frame-Options: [SAMEORIGIN]
25 X-Permitted-Cross-Domain-Policies: [none] 25 X-Permitted-Cross-Domain-Policies: [none]
26 X-Request-Id: [a2ecd5fa-03f5-4446-a717-f9298ff76bc5] 26 X-Request-Id: [cddd576b-fad7-4104-b9ab-ec29f081aa40]
27 X-Runtime: ['0.026638'] 27 X-Runtime: ['0.023848']
28 X-XSS-Protection: [1; mode=block] 28 X-XSS-Protection: [1; mode=block]
29 content-length: ['34'] 29 content-length: ['34']
30 status: {code: 200, message: OK} 30 status: {code: 200, message: OK}
@@ -39,7 +39,7 @@ interactions:
39 method: GET 39 method: GET
40 uri: http://localhost:3000/api/v1/accounts/verify_credentials 40 uri: http://localhost:3000/api/v1/accounts/verify_credentials
41 response: 41 response:
42 body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":27,"last_status_at":"2019-10-11T21:48:42.003Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} 42 body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":30,"last_status_at":"2019-10-12T21:00:36.915Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'}
43 headers: 43 headers:
44 Cache-Control: ['no-cache, no-store'] 44 Cache-Control: ['no-cache, no-store']
45 Content-Type: [application/json; charset=utf-8] 45 Content-Type: [application/json; charset=utf-8]
@@ -50,8 +50,8 @@ interactions:
50 X-Download-Options: [noopen] 50 X-Download-Options: [noopen]
51 X-Frame-Options: [SAMEORIGIN] 51 X-Frame-Options: [SAMEORIGIN]
52 X-Permitted-Cross-Domain-Policies: [none] 52 X-Permitted-Cross-Domain-Policies: [none]
53 X-Request-Id: [9c6dcf4d-a07b-45bb-95b9-c3d16122aba2] 53 X-Request-Id: [7171ce25-1fc8-47df-8b20-3d408c1efaf5]
54 X-Runtime: ['0.028693'] 54 X-Runtime: ['0.047596']
55 X-XSS-Protection: [1; mode=block] 55 X-XSS-Protection: [1; mode=block]
56 content-length: ['680'] 56 content-length: ['680']
57 status: {code: 200, message: OK} 57 status: {code: 200, message: OK}
@@ -79,8 +79,8 @@ interactions:
79 X-Download-Options: [noopen] 79 X-Download-Options: [noopen]
80 X-Frame-Options: [SAMEORIGIN] 80 X-Frame-Options: [SAMEORIGIN]
81 X-Permitted-Cross-Domain-Policies: [none] 81 X-Permitted-Cross-Domain-Policies: [none]
82 X-Request-Id: [059e01a6-4333-495b-9672-de5967942414] 82 X-Request-Id: [f354afbd-c65d-4a77-9167-b42d4556caee]
83 X-Runtime: ['0.114812'] 83 X-Runtime: ['0.081483']
84 X-XSS-Protection: [1; mode=block] 84 X-XSS-Protection: [1; mode=block]
85 content-length: ['209'] 85 content-length: ['209']
86 status: {code: 200, message: OK} 86 status: {code: 200, message: OK}
@@ -95,7 +95,7 @@ interactions:
95 Content-Type: [application/x-www-form-urlencoded] 95 Content-Type: [application/x-www-form-urlencoded]
96 User-Agent: [python-requests/2.18.4] 96 User-Agent: [python-requests/2.18.4]
97 method: POST 97 method: POST
98 uri: http://localhost:3000/api/v1/lists/45/accounts 98 uri: http://localhost:3000/api/v1/lists/50/accounts
99 response: 99 response:
100 body: {string: '{}'} 100 body: {string: '{}'}
101 headers: 101 headers:
@@ -108,8 +108,8 @@ interactions:
108 X-Download-Options: [noopen] 108 X-Download-Options: [noopen]
109 X-Frame-Options: [SAMEORIGIN] 109 X-Frame-Options: [SAMEORIGIN]
110 X-Permitted-Cross-Domain-Policies: [none] 110 X-Permitted-Cross-Domain-Policies: [none]
111 X-Request-Id: [277c8d9c-25f2-4004-9d68-568121ce360c] 111 X-Request-Id: [40364f17-2af4-4b0c-83f7-f9120cc553f1]
112 X-Runtime: ['0.094615'] 112 X-Runtime: ['0.072121']
113 X-XSS-Protection: [1; mode=block] 113 X-XSS-Protection: [1; mode=block]
114 content-length: ['2'] 114 content-length: ['2']
115 status: {code: 200, message: OK} 115 status: {code: 200, message: OK}
@@ -126,9 +126,9 @@ interactions:
126 method: POST 126 method: POST
127 uri: http://localhost:3000/api/v1/statuses 127 uri: http://localhost:3000/api/v1/statuses
128 response: 128 response:
129 body: {string: '{"id":"102945949822472535","created_at":"2019-10-11T21:48:53.207Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102945949822472535","url":"http://localhost/@admin/102945949822472535","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eI 129 body: {string: '{"id":"102951423125310925","created_at":"2019-10-12T21:00:49.181Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102951423125310925","url":"http://localhost/@admin/102951423125310925","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eI
130 have never stolen a ham in my life.\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py 130 have never stolen a ham in my life.\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
131 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":3,"following_count":1,"statuses_count":28,"last_status_at":"2019-10-11T21:48:53.223Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} 131 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":3,"following_count":1,"statuses_count":31,"last_status_at":"2019-10-12T21:00:49.191Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
132 headers: 132 headers:
133 Cache-Control: ['no-cache, no-store'] 133 Cache-Control: ['no-cache, no-store']
134 Content-Type: [application/json; charset=utf-8] 134 Content-Type: [application/json; charset=utf-8]
@@ -139,8 +139,8 @@ interactions:
139 X-Download-Options: [noopen] 139 X-Download-Options: [noopen]
140 X-Frame-Options: [SAMEORIGIN] 140 X-Frame-Options: [SAMEORIGIN]
141 X-Permitted-Cross-Domain-Policies: [none] 141 X-Permitted-Cross-Domain-Policies: [none]
142 X-Request-Id: [db943767-de21-4f0d-a1b6-f6b4471f9587] 142 X-Request-Id: [49621185-956e-42d5-a56a-aeec41d710a9]
143 X-Runtime: ['0.203556'] 143 X-Runtime: ['0.168156']
144 X-XSS-Protection: [1; mode=block] 144 X-XSS-Protection: [1; mode=block]
145 content-length: ['1248'] 145 content-length: ['1248']
146 status: {code: 200, message: OK} 146 status: {code: 200, message: OK}
@@ -153,16 +153,16 @@ interactions:
153 Connection: [keep-alive] 153 Connection: [keep-alive]
154 User-Agent: [python-requests/2.18.4] 154 User-Agent: [python-requests/2.18.4]
155 method: GET 155 method: GET
156 uri: http://localhost:3000/api/v1/timelines/list/45 156 uri: http://localhost:3000/api/v1/timelines/list/50
157 response: 157 response:
158 body: {string: '[{"id":"102945949822472535","created_at":"2019-10-11T21:48:53.207Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102945949822472535","url":"http://localhost/@admin/102945949822472535","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"\u003cp\u003eI 158 body: {string: '[{"id":"102951423125310925","created_at":"2019-10-12T21:00:49.181Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102951423125310925","url":"http://localhost/@admin/102951423125310925","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"\u003cp\u003eI
159 have never stolen a ham in my life.\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py 159 have never stolen a ham in my life.\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
160 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":3,"following_count":1,"statuses_count":28,"last_status_at":"2019-10-11T21:48:53.223Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}]'} 160 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":3,"following_count":1,"statuses_count":31,"last_status_at":"2019-10-12T21:00:49.191Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}]'}
161 headers: 161 headers:
162 Cache-Control: ['no-cache, no-store'] 162 Cache-Control: ['no-cache, no-store']
163 Content-Type: [application/json; charset=utf-8] 163 Content-Type: [application/json; charset=utf-8]
164 Link: ['<http://localhost:3000/api/v1/timelines/list/45?max_id=102945949822472535>; 164 Link: ['<http://localhost:3000/api/v1/timelines/list/50?max_id=102951423125310925>;
165 rel="next", <http://localhost:3000/api/v1/timelines/list/45?min_id=102945949822472535>; 165 rel="next", <http://localhost:3000/api/v1/timelines/list/50?min_id=102951423125310925>;
166 rel="prev"'] 166 rel="prev"']
167 Referrer-Policy: [strict-origin-when-cross-origin] 167 Referrer-Policy: [strict-origin-when-cross-origin]
168 Transfer-Encoding: [chunked] 168 Transfer-Encoding: [chunked]
@@ -171,8 +171,8 @@ interactions:
171 X-Download-Options: [noopen] 171 X-Download-Options: [noopen]
172 X-Frame-Options: [SAMEORIGIN] 172 X-Frame-Options: [SAMEORIGIN]
173 X-Permitted-Cross-Domain-Policies: [none] 173 X-Permitted-Cross-Domain-Policies: [none]
174 X-Request-Id: [9c2a0611-e655-42d7-8c4a-6dc5863d58f4] 174 X-Request-Id: [c753e3ab-cd55-4d5d-bb3d-f16de2f2f0c5]
175 X-Runtime: ['0.074015'] 175 X-Runtime: ['0.071124']
176 X-XSS-Protection: [1; mode=block] 176 X-XSS-Protection: [1; mode=block]
177 content-length: ['1235'] 177 content-length: ['1235']
178 status: {code: 200, message: OK} 178 status: {code: 200, message: OK}
@@ -186,11 +186,11 @@ interactions:
186 Content-Length: ['0'] 186 Content-Length: ['0']
187 User-Agent: [python-requests/2.18.4] 187 User-Agent: [python-requests/2.18.4]
188 method: DELETE 188 method: DELETE
189 uri: http://localhost:3000/api/v1/statuses/102945949822472535 189 uri: http://localhost:3000/api/v1/statuses/102951423125310925
190 response: 190 response:
191 body: {string: '{"id":"102945949822472535","created_at":"2019-10-11T21:48:53.207Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102945949822472535","url":"http://localhost/@admin/102945949822472535","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"I 191 body: {string: '{"id":"102951423125310925","created_at":"2019-10-12T21:00:49.181Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102951423125310925","url":"http://localhost/@admin/102951423125310925","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"I
192 have never stolen a ham in my life.","reblog":null,"application":{"name":"Mastodon.py 192 have never stolen a ham in my life.","reblog":null,"application":{"name":"Mastodon.py
193 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":3,"following_count":1,"statuses_count":28,"last_status_at":"2019-10-11T21:48:53.223Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} 193 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":3,"following_count":1,"statuses_count":31,"last_status_at":"2019-10-12T21:00:49.191Z","emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
194 headers: 194 headers:
195 Cache-Control: ['no-cache, no-store'] 195 Cache-Control: ['no-cache, no-store']
196 Content-Type: [application/json; charset=utf-8] 196 Content-Type: [application/json; charset=utf-8]
@@ -201,8 +201,8 @@ interactions:
201 X-Download-Options: [noopen] 201 X-Download-Options: [noopen]
202 X-Frame-Options: [SAMEORIGIN] 202 X-Frame-Options: [SAMEORIGIN]
203 X-Permitted-Cross-Domain-Policies: [none] 203 X-Permitted-Cross-Domain-Policies: [none]
204 X-Request-Id: [dcf6d582-f9e8-48a8-9a2f-3a22a0ba0f26] 204 X-Request-Id: [374857af-b294-431c-9e4c-59d43937d9a5]
205 X-Runtime: ['0.108989'] 205 X-Runtime: ['0.115285']
206 X-XSS-Protection: [1; mode=block] 206 X-XSS-Protection: [1; mode=block]
207 content-length: ['1218'] 207 content-length: ['1218']
208 status: {code: 200, message: OK} 208 status: {code: 200, message: OK}
@@ -229,8 +229,8 @@ interactions:
229 X-Download-Options: [noopen] 229 X-Download-Options: [noopen]
230 X-Frame-Options: [SAMEORIGIN] 230 X-Frame-Options: [SAMEORIGIN]
231 X-Permitted-Cross-Domain-Policies: [none] 231 X-Permitted-Cross-Domain-Policies: [none]
232 X-Request-Id: [25ae7a5d-947a-40da-939e-b8072f65b034] 232 X-Request-Id: [171a5763-5563-44b2-86d1-5cc7c899ada7]
233 X-Runtime: ['0.115934'] 233 X-Runtime: ['0.064009']
234 X-XSS-Protection: [1; mode=block] 234 X-XSS-Protection: [1; mode=block]
235 content-length: ['211'] 235 content-length: ['211']
236 status: {code: 200, message: OK} 236 status: {code: 200, message: OK}
@@ -244,7 +244,7 @@ interactions:
244 Content-Length: ['0'] 244 Content-Length: ['0']
245 User-Agent: [python-requests/2.18.4] 245 User-Agent: [python-requests/2.18.4]
246 method: DELETE 246 method: DELETE
247 uri: http://localhost:3000/api/v1/lists/45 247 uri: http://localhost:3000/api/v1/lists/50
248 response: 248 response:
249 body: {string: '{}'} 249 body: {string: '{}'}
250 headers: 250 headers:
@@ -257,8 +257,8 @@ interactions:
257 X-Download-Options: [noopen] 257 X-Download-Options: [noopen]
258 X-Frame-Options: [SAMEORIGIN] 258 X-Frame-Options: [SAMEORIGIN]
259 X-Permitted-Cross-Domain-Policies: [none] 259 X-Permitted-Cross-Domain-Policies: [none]
260 X-Request-Id: [12fe2386-982a-4bcc-8215-de9fa42c9b9f] 260 X-Request-Id: [c9bd4b50-8924-41bd-b137-2a18ff0a62f6]
261 X-Runtime: ['0.060430'] 261 X-Runtime: ['0.054989']
262 X-XSS-Protection: [1; mode=block] 262 X-XSS-Protection: [1; mode=block]
263 content-length: ['2'] 263 content-length: ['2']
264 status: {code: 200, message: OK} 264 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)