diff options
Diffstat (limited to 'tests/cassettes/test_list_timeline.yaml')
-rw-r--r-- | tests/cassettes/test_list_timeline.yaml | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/tests/cassettes/test_list_timeline.yaml b/tests/cassettes/test_list_timeline.yaml index 5e60f42..4eeff9b 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":"50","title":"ham burglars"}'} | 15 | body: {string: '{"id":"5","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,10 +23,10 @@ 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: [cddd576b-fad7-4104-b9ab-ec29f081aa40] | 26 | X-Request-Id: [3e0f63bb-397a-4f4e-9a1c-4328a8a95296] |
27 | X-Runtime: ['0.023848'] | 27 | X-Runtime: ['0.065801'] |
28 | X-XSS-Protection: [1; mode=block] | 28 | X-XSS-Protection: [1; mode=block] |
29 | content-length: ['34'] | 29 | content-length: ['33'] |
30 | status: {code: 200, message: OK} | 30 | status: {code: 200, message: OK} |
31 | - request: | 31 | - request: |
32 | body: null | 32 | body: null |
@@ -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":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":[]}'} | 42 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","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":0,"following_count":0,"statuses_count":0,"last_status_at":"2020-02-22","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: [7171ce25-1fc8-47df-8b20-3d408c1efaf5] | 53 | X-Request-Id: [ef60419a-f44b-4c60-a6ee-5fd7a2ae2ca7] |
54 | X-Runtime: ['0.047596'] | 54 | X-Runtime: ['0.096222'] |
55 | X-XSS-Protection: [1; mode=block] | 55 | X-XSS-Protection: [1; mode=block] |
56 | content-length: ['680'] | 56 | content-length: ['699'] |
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: [f354afbd-c65d-4a77-9167-b42d4556caee] | 82 | X-Request-Id: [cd67e261-1c6d-48bb-b7f9-d0a34004586f] |
83 | X-Runtime: ['0.081483'] | 83 | X-Runtime: ['0.143481'] |
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/50/accounts | 98 | uri: http://localhost:3000/api/v1/lists/5/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: [40364f17-2af4-4b0c-83f7-f9120cc553f1] | 111 | X-Request-Id: [8d827e28-8da8-4f6a-a10f-5f1ef2021b65] |
112 | X-Runtime: ['0.072121'] | 112 | X-Runtime: ['0.087335'] |
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":"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 | 129 | body: {string: '{"id":"103704148301781018","created_at":"2020-02-22T19:28:43.876Z","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/103704148301781018","url":"http://localhost/@admin/103704148301781018","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":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":31,"last_status_at":"2019-10-12T21:00:49.191Z","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,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","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":1,"following_count":0,"statuses_count":1,"last_status_at":"2020-02-22","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: [49621185-956e-42d5-a56a-aeec41d710a9] | 142 | X-Request-Id: [5143b78f-4b0f-49c6-9493-47f40f5bbfb0] |
143 | X-Runtime: ['0.168156'] | 143 | X-Runtime: ['0.211740'] |
144 | X-XSS-Protection: [1; mode=block] | 144 | X-XSS-Protection: [1; mode=block] |
145 | content-length: ['1248'] | 145 | content-length: ['1286'] |
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/50 | 156 | uri: http://localhost:3000/api/v1/timelines/list/5 |
157 | response: | 157 | response: |
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 | 158 | body: {string: '[{"id":"103704148301781018","created_at":"2020-02-22T19:28:43.876Z","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/103704148301781018","url":"http://localhost/@admin/103704148301781018","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":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":31,"last_status_at":"2019-10-12T21:00:49.191Z","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,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","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":1,"following_count":0,"statuses_count":1,"last_status_at":"2020-02-22","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/50?max_id=102951423125310925>; | 164 | Link: ['<http://localhost:3000/api/v1/timelines/list/5?max_id=103704148301781018>; |
165 | rel="next", <http://localhost:3000/api/v1/timelines/list/50?min_id=102951423125310925>; | 165 | rel="next", <http://localhost:3000/api/v1/timelines/list/5?min_id=103704148301781018>; |
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: [c753e3ab-cd55-4d5d-bb3d-f16de2f2f0c5] | 174 | X-Request-Id: [874fa3d1-e2d5-4d7d-ba95-30bbb7974b3f] |
175 | X-Runtime: ['0.071124'] | 175 | X-Runtime: ['0.104416'] |
176 | X-XSS-Protection: [1; mode=block] | 176 | X-XSS-Protection: [1; mode=block] |
177 | content-length: ['1235'] | 177 | content-length: ['1273'] |
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/102951423125310925 | 189 | uri: http://localhost:3000/api/v1/statuses/103704148301781018 |
190 | response: | 190 | response: |
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 | 191 | body: {string: '{"id":"103704148301781018","created_at":"2020-02-22T19:28:43.876Z","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/103704148301781018","url":"http://localhost/@admin/103704148301781018","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":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":31,"last_status_at":"2019-10-12T21:00:49.191Z","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,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","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":1,"following_count":0,"statuses_count":1,"last_status_at":"2020-02-22","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: [374857af-b294-431c-9e4c-59d43937d9a5] | 204 | X-Request-Id: [ce1dbe07-99f0-4c57-ac8e-685fb7f7a97e] |
205 | X-Runtime: ['0.115285'] | 205 | X-Runtime: ['0.125725'] |
206 | X-XSS-Protection: [1; mode=block] | 206 | X-XSS-Protection: [1; mode=block] |
207 | content-length: ['1218'] | 207 | content-length: ['1256'] |
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: [171a5763-5563-44b2-86d1-5cc7c899ada7] | 232 | X-Request-Id: [1308fd60-6122-45e3-9dfd-b357a4273b46] |
233 | X-Runtime: ['0.064009'] | 233 | X-Runtime: ['0.088877'] |
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/50 | 247 | uri: http://localhost:3000/api/v1/lists/5 |
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: [c9bd4b50-8924-41bd-b137-2a18ff0a62f6] | 260 | X-Request-Id: [429e7254-f120-4afe-a644-a1c398acdfc3] |
261 | X-Runtime: ['0.054989'] | 261 | X-Runtime: ['0.047528'] |
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} |