aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_list_timeline.yaml')
-rw-r--r--tests/cassettes/test_list_timeline.yaml72
1 files changed, 36 insertions, 36 deletions
diff --git a/tests/cassettes/test_list_timeline.yaml b/tests/cassettes/test_list_timeline.yaml
index 84015fe..12ff640 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":"25","title":"ham burglars"}'} 15 body: {string: '{"id":"45","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: [ba48641d-cf50-4b83-8560-08981737cf88] 26 X-Request-Id: [a2ecd5fa-03f5-4446-a717-f9298ff76bc5]
27 X-Runtime: ['0.021952'] 27 X-Runtime: ['0.026638']
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":16,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"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":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":[]}'}
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,10 +50,10 @@ 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: [78e34f89-3407-4a87-b9c3-abb13551f476] 53 X-Request-Id: [9c6dcf4d-a07b-45bb-95b9-c3d16122aba2]
54 X-Runtime: ['0.022950'] 54 X-Runtime: ['0.028693']
55 X-XSS-Protection: [1; mode=block] 55 X-XSS-Protection: [1; mode=block]
56 content-length: ['610'] 56 content-length: ['680']
57 status: {code: 200, message: OK} 57 status: {code: 200, message: OK}
58- request: 58- request:
59 body: reblogs=1&id=1 59 body: reblogs=1&id=1
@@ -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: [c00a31f9-1a7b-4ed0-a1e0-28e5352a24f3] 82 X-Request-Id: [059e01a6-4333-495b-9672-de5967942414]
83 X-Runtime: ['0.070776'] 83 X-Runtime: ['0.114812']
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/25/accounts 98 uri: http://localhost:3000/api/v1/lists/45/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: [05f3227d-bb62-4807-b6f4-2546522abac6] 111 X-Request-Id: [277c8d9c-25f2-4004-9d68-568121ce360c]
112 X-Runtime: ['0.075572'] 112 X-Runtime: ['0.094615']
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":"102317290726462285","created_at":"2019-06-22T21:12:36.659Z","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/102317290726462285","url":"http://localhost/@admin/102317290726462285","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eI 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
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":17,"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":28,"last_status_at":"2019-10-11T21:48:53.223Z","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,10 +139,10 @@ 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: [6f69bb85-4635-4e9e-9a42-f26e4b683727] 142 X-Request-Id: [db943767-de21-4f0d-a1b6-f6b4471f9587]
143 X-Runtime: ['0.178400'] 143 X-Runtime: ['0.203556']
144 X-XSS-Protection: [1; mode=block] 144 X-XSS-Protection: [1; mode=block]
145 content-length: ['1204'] 145 content-length: ['1248']
146 status: {code: 200, message: OK} 146 status: {code: 200, message: OK}
147- request: 147- request:
148 body: null 148 body: null
@@ -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/25 156 uri: http://localhost:3000/api/v1/timelines/list/45
157 response: 157 response:
158 body: {string: '[{"id":"102317290726462285","created_at":"2019-06-22T21:12:36.659Z","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/102317290726462285","url":"http://localhost/@admin/102317290726462285","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"\u003cp\u003eI 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
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":17,"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":28,"last_status_at":"2019-10-11T21:48:53.223Z","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/25?max_id=102317290726462285>; 164 Link: ['<http://localhost:3000/api/v1/timelines/list/45?max_id=102945949822472535>;
165 rel="next", <http://localhost:3000/api/v1/timelines/list/25?min_id=102317290726462285>; 165 rel="next", <http://localhost:3000/api/v1/timelines/list/45?min_id=102945949822472535>;
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,10 +171,10 @@ 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: [65f03835-bd09-49c8-9a7c-7e912e4ddbe2] 174 X-Request-Id: [9c2a0611-e655-42d7-8c4a-6dc5863d58f4]
175 X-Runtime: ['0.062445'] 175 X-Runtime: ['0.074015']
176 X-XSS-Protection: [1; mode=block] 176 X-XSS-Protection: [1; mode=block]
177 content-length: ['1191'] 177 content-length: ['1235']
178 status: {code: 200, message: OK} 178 status: {code: 200, message: OK}
179- request: 179- request:
180 body: null 180 body: null
@@ -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/102317290726462285 189 uri: http://localhost:3000/api/v1/statuses/102945949822472535
190 response: 190 response:
191 body: {string: '{"id":"102317290726462285","created_at":"2019-06-22T21:12:36.659Z","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/102317290726462285","url":"http://localhost/@admin/102317290726462285","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"I 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
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":17,"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":28,"last_status_at":"2019-10-11T21:48:53.223Z","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,10 +201,10 @@ 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: [e62f4641-cdda-490b-9966-df6bb8127144] 204 X-Request-Id: [dcf6d582-f9e8-48a8-9a2f-3a22a0ba0f26]
205 X-Runtime: ['0.079065'] 205 X-Runtime: ['0.108989']
206 X-XSS-Protection: [1; mode=block] 206 X-XSS-Protection: [1; mode=block]
207 content-length: ['1174'] 207 content-length: ['1218']
208 status: {code: 200, message: OK} 208 status: {code: 200, message: OK}
209- request: 209- request:
210 body: null 210 body: null
@@ -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: [85c8a500-8c01-4053-9782-cd28a56d23d5] 232 X-Request-Id: [25ae7a5d-947a-40da-939e-b8072f65b034]
233 X-Runtime: ['0.088744'] 233 X-Runtime: ['0.115934']
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/25 247 uri: http://localhost:3000/api/v1/lists/45
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: [0004f8b3-73e1-444f-8aff-cc2d20798dca] 260 X-Request-Id: [12fe2386-982a-4bcc-8215-de9fa42c9b9f]
261 X-Runtime: ['0.021890'] 261 X-Runtime: ['0.060430']
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)