aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_list_add_remove_account.yaml')
-rw-r--r--tests/cassettes/test_list_add_remove_account.yaml92
1 files changed, 46 insertions, 46 deletions
diff --git a/tests/cassettes/test_list_add_remove_account.yaml b/tests/cassettes/test_list_add_remove_account.yaml
index c85bca4..e3f3e99 100644
--- a/tests/cassettes/test_list_add_remove_account.yaml
+++ b/tests/cassettes/test_list_add_remove_account.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":"48","title":"ham burglars"}'} 15 body: {string: '{"id":"3","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: [46ceae1d-d0ea-4d09-a7b2-be1d9f7fb4e4] 26 X-Request-Id: [aa7ea0f4-a379-4b94-a763-dfae6ce5d9d2]
27 X-Runtime: ['0.023184'] 27 X-Runtime: ['0.036237']
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":3,"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":1,"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: [a1631d5c-177d-4829-bee0-33a25bdc281d] 53 X-Request-Id: [0d02ae01-4b3a-4401-b691-f8628b41338c]
54 X-Runtime: ['0.027102'] 54 X-Runtime: ['0.038679']
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: [441f9dc4-014d-4741-be8c-a9874a9855b1] 82 X-Request-Id: [a998059d-5d5f-42e8-990c-000c27a8595d]
83 X-Runtime: ['0.034350'] 83 X-Runtime: ['0.047697']
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/48/accounts 98 uri: http://localhost:3000/api/v1/lists/3/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: [f49a914b-8d35-4e8f-ab6c-595e5a634504] 111 X-Request-Id: [001e49fa-90d3-4a32-bbf8-668cc8bcabde]
112 X-Runtime: ['0.033906'] 112 X-Runtime: ['0.115558']
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}
@@ -122,13 +122,13 @@ interactions:
122 Connection: [keep-alive] 122 Connection: [keep-alive]
123 User-Agent: [python-requests/2.18.4] 123 User-Agent: [python-requests/2.18.4]
124 method: GET 124 method: GET
125 uri: http://localhost:3000/api/v1/lists/48/accounts 125 uri: http://localhost:3000/api/v1/lists/3/accounts
126 response: 126 response:
127 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":3,"following_count":1,"statuses_count":30,"last_status_at":"2019-10-12T21:00:36.915Z","emojis":[],"fields":[]}]'} 127 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":1,"following_count":0,"statuses_count":0,"last_status_at":"2020-02-22","emojis":[],"fields":[]}]'}
128 headers: 128 headers:
129 Cache-Control: ['no-cache, no-store'] 129 Cache-Control: ['no-cache, no-store']
130 Content-Type: [application/json; charset=utf-8] 130 Content-Type: [application/json; charset=utf-8]
131 Link: ['<http://localhost:3000/api/v1/lists/48/accounts?since_id=1>; rel="prev"'] 131 Link: ['<http://localhost:3000/api/v1/lists/3/accounts?since_id=1>; rel="prev"']
132 Referrer-Policy: [strict-origin-when-cross-origin] 132 Referrer-Policy: [strict-origin-when-cross-origin]
133 Transfer-Encoding: [chunked] 133 Transfer-Encoding: [chunked]
134 Vary: ['Accept-Encoding, Origin'] 134 Vary: ['Accept-Encoding, Origin']
@@ -136,10 +136,10 @@ interactions:
136 X-Download-Options: [noopen] 136 X-Download-Options: [noopen]
137 X-Frame-Options: [SAMEORIGIN] 137 X-Frame-Options: [SAMEORIGIN]
138 X-Permitted-Cross-Domain-Policies: [none] 138 X-Permitted-Cross-Domain-Policies: [none]
139 X-Request-Id: [84f3c4da-465e-43dd-93fa-ff594b093d23] 139 X-Request-Id: [38b2be97-13f6-436c-ae6f-99eada513482]
140 X-Runtime: ['0.043998'] 140 X-Runtime: ['0.046362']
141 X-XSS-Protection: [1; mode=block] 141 X-XSS-Protection: [1; mode=block]
142 content-length: ['570'] 142 content-length: ['589']
143 status: {code: 200, message: OK} 143 status: {code: 200, message: OK}
144- request: 144- request:
145 body: null 145 body: null
@@ -164,8 +164,8 @@ interactions:
164 X-Download-Options: [noopen] 164 X-Download-Options: [noopen]
165 X-Frame-Options: [SAMEORIGIN] 165 X-Frame-Options: [SAMEORIGIN]
166 X-Permitted-Cross-Domain-Policies: [none] 166 X-Permitted-Cross-Domain-Policies: [none]
167 X-Request-Id: [2ebe7b66-0320-4fd9-bea8-d3aac6db0121] 167 X-Request-Id: [63b1aed6-cdac-4aca-8d24-565455586e2e]
168 X-Runtime: ['0.065449'] 168 X-Runtime: ['0.083102']
169 X-XSS-Protection: [1; mode=block] 169 X-XSS-Protection: [1; mode=block]
170 content-length: ['211'] 170 content-length: ['211']
171 status: {code: 200, message: OK} 171 status: {code: 200, message: OK}
@@ -178,7 +178,7 @@ interactions:
178 Connection: [keep-alive] 178 Connection: [keep-alive]
179 User-Agent: [python-requests/2.18.4] 179 User-Agent: [python-requests/2.18.4]
180 method: GET 180 method: GET
181 uri: http://localhost:3000/api/v1/lists/48/accounts 181 uri: http://localhost:3000/api/v1/lists/3/accounts
182 response: 182 response:
183 body: {string: '[]'} 183 body: {string: '[]'}
184 headers: 184 headers:
@@ -191,8 +191,8 @@ interactions:
191 X-Download-Options: [noopen] 191 X-Download-Options: [noopen]
192 X-Frame-Options: [SAMEORIGIN] 192 X-Frame-Options: [SAMEORIGIN]
193 X-Permitted-Cross-Domain-Policies: [none] 193 X-Permitted-Cross-Domain-Policies: [none]
194 X-Request-Id: [73142ca6-932c-4240-bade-587bc171137f] 194 X-Request-Id: [2b6696e2-f70e-4319-a39e-61a4705e4539]
195 X-Runtime: ['0.029088'] 195 X-Runtime: ['0.035035']
196 X-XSS-Protection: [1; mode=block] 196 X-XSS-Protection: [1; mode=block]
197 content-length: ['2'] 197 content-length: ['2']
198 status: {code: 200, message: OK} 198 status: {code: 200, message: OK}
@@ -220,8 +220,8 @@ interactions:
220 X-Download-Options: [noopen] 220 X-Download-Options: [noopen]
221 X-Frame-Options: [SAMEORIGIN] 221 X-Frame-Options: [SAMEORIGIN]
222 X-Permitted-Cross-Domain-Policies: [none] 222 X-Permitted-Cross-Domain-Policies: [none]
223 X-Request-Id: [971eba97-5e41-4a56-b834-7e4d16dfec91] 223 X-Request-Id: [5bcef462-4f07-41a7-b4c9-c171e93200fc]
224 X-Runtime: ['0.074819'] 224 X-Runtime: ['0.119198']
225 X-XSS-Protection: [1; mode=block] 225 X-XSS-Protection: [1; mode=block]
226 content-length: ['209'] 226 content-length: ['209']
227 status: {code: 200, message: OK} 227 status: {code: 200, message: OK}
@@ -236,7 +236,7 @@ interactions:
236 Content-Type: [application/x-www-form-urlencoded] 236 Content-Type: [application/x-www-form-urlencoded]
237 User-Agent: [python-requests/2.18.4] 237 User-Agent: [python-requests/2.18.4]
238 method: POST 238 method: POST
239 uri: http://localhost:3000/api/v1/lists/48/accounts 239 uri: http://localhost:3000/api/v1/lists/3/accounts
240 response: 240 response:
241 body: {string: '{}'} 241 body: {string: '{}'}
242 headers: 242 headers:
@@ -249,8 +249,8 @@ interactions:
249 X-Download-Options: [noopen] 249 X-Download-Options: [noopen]
250 X-Frame-Options: [SAMEORIGIN] 250 X-Frame-Options: [SAMEORIGIN]
251 X-Permitted-Cross-Domain-Policies: [none] 251 X-Permitted-Cross-Domain-Policies: [none]
252 X-Request-Id: [bdb1a0fe-87be-4e09-ac57-07ade53ed31c] 252 X-Request-Id: [309e20e5-4748-4936-b2cb-45a7fa2eb106]
253 X-Runtime: ['0.097558'] 253 X-Runtime: ['0.079076']
254 X-XSS-Protection: [1; mode=block] 254 X-XSS-Protection: [1; mode=block]
255 content-length: ['2'] 255 content-length: ['2']
256 status: {code: 200, message: OK} 256 status: {code: 200, message: OK}
@@ -263,13 +263,13 @@ interactions:
263 Connection: [keep-alive] 263 Connection: [keep-alive]
264 User-Agent: [python-requests/2.18.4] 264 User-Agent: [python-requests/2.18.4]
265 method: GET 265 method: GET
266 uri: http://localhost:3000/api/v1/lists/48/accounts 266 uri: http://localhost:3000/api/v1/lists/3/accounts
267 response: 267 response:
268 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":3,"following_count":1,"statuses_count":30,"last_status_at":"2019-10-12T21:00:36.915Z","emojis":[],"fields":[]}]'} 268 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":1,"following_count":0,"statuses_count":0,"last_status_at":"2020-02-22","emojis":[],"fields":[]}]'}
269 headers: 269 headers:
270 Cache-Control: ['no-cache, no-store'] 270 Cache-Control: ['no-cache, no-store']
271 Content-Type: [application/json; charset=utf-8] 271 Content-Type: [application/json; charset=utf-8]
272 Link: ['<http://localhost:3000/api/v1/lists/48/accounts?since_id=1>; rel="prev"'] 272 Link: ['<http://localhost:3000/api/v1/lists/3/accounts?since_id=1>; rel="prev"']
273 Referrer-Policy: [strict-origin-when-cross-origin] 273 Referrer-Policy: [strict-origin-when-cross-origin]
274 Transfer-Encoding: [chunked] 274 Transfer-Encoding: [chunked]
275 Vary: ['Accept-Encoding, Origin'] 275 Vary: ['Accept-Encoding, Origin']
@@ -277,10 +277,10 @@ interactions:
277 X-Download-Options: [noopen] 277 X-Download-Options: [noopen]
278 X-Frame-Options: [SAMEORIGIN] 278 X-Frame-Options: [SAMEORIGIN]
279 X-Permitted-Cross-Domain-Policies: [none] 279 X-Permitted-Cross-Domain-Policies: [none]
280 X-Request-Id: [a4dc905e-af1f-4485-83e0-7b7b8ea59f84] 280 X-Request-Id: [64e7e959-a00f-440c-9345-be8f45f12fe7]
281 X-Runtime: ['0.042041'] 281 X-Runtime: ['0.035964']
282 X-XSS-Protection: [1; mode=block] 282 X-XSS-Protection: [1; mode=block]
283 content-length: ['570'] 283 content-length: ['589']
284 status: {code: 200, message: OK} 284 status: {code: 200, message: OK}
285- request: 285- request:
286 body: account_ids%5B%5D=1 286 body: account_ids%5B%5D=1
@@ -293,7 +293,7 @@ interactions:
293 Content-Type: [application/x-www-form-urlencoded] 293 Content-Type: [application/x-www-form-urlencoded]
294 User-Agent: [python-requests/2.18.4] 294 User-Agent: [python-requests/2.18.4]
295 method: DELETE 295 method: DELETE
296 uri: http://localhost:3000/api/v1/lists/48/accounts 296 uri: http://localhost:3000/api/v1/lists/3/accounts
297 response: 297 response:
298 body: {string: '{}'} 298 body: {string: '{}'}
299 headers: 299 headers:
@@ -306,8 +306,8 @@ interactions:
306 X-Download-Options: [noopen] 306 X-Download-Options: [noopen]
307 X-Frame-Options: [SAMEORIGIN] 307 X-Frame-Options: [SAMEORIGIN]
308 X-Permitted-Cross-Domain-Policies: [none] 308 X-Permitted-Cross-Domain-Policies: [none]
309 X-Request-Id: [5477556f-e505-4607-a77a-828fa3b269a5] 309 X-Request-Id: [661c5fed-ad7e-4952-a2b8-a78d2ccc3daa]
310 X-Runtime: ['0.033345'] 310 X-Runtime: ['0.043183']
311 X-XSS-Protection: [1; mode=block] 311 X-XSS-Protection: [1; mode=block]
312 content-length: ['2'] 312 content-length: ['2']
313 status: {code: 200, message: OK} 313 status: {code: 200, message: OK}
@@ -320,7 +320,7 @@ interactions:
320 Connection: [keep-alive] 320 Connection: [keep-alive]
321 User-Agent: [python-requests/2.18.4] 321 User-Agent: [python-requests/2.18.4]
322 method: GET 322 method: GET
323 uri: http://localhost:3000/api/v1/lists/48/accounts 323 uri: http://localhost:3000/api/v1/lists/3/accounts
324 response: 324 response:
325 body: {string: '[]'} 325 body: {string: '[]'}
326 headers: 326 headers:
@@ -333,8 +333,8 @@ interactions:
333 X-Download-Options: [noopen] 333 X-Download-Options: [noopen]
334 X-Frame-Options: [SAMEORIGIN] 334 X-Frame-Options: [SAMEORIGIN]
335 X-Permitted-Cross-Domain-Policies: [none] 335 X-Permitted-Cross-Domain-Policies: [none]
336 X-Request-Id: [9c2ce80a-31c7-498d-892e-70e9dab65271] 336 X-Request-Id: [e61d56d9-1db2-4b0c-a566-0f3eb994d6f2]
337 X-Runtime: ['0.025958'] 337 X-Runtime: ['0.031484']
338 X-XSS-Protection: [1; mode=block] 338 X-XSS-Protection: [1; mode=block]
339 content-length: ['2'] 339 content-length: ['2']
340 status: {code: 200, message: OK} 340 status: {code: 200, message: OK}
@@ -361,8 +361,8 @@ interactions:
361 X-Download-Options: [noopen] 361 X-Download-Options: [noopen]
362 X-Frame-Options: [SAMEORIGIN] 362 X-Frame-Options: [SAMEORIGIN]
363 X-Permitted-Cross-Domain-Policies: [none] 363 X-Permitted-Cross-Domain-Policies: [none]
364 X-Request-Id: [751ed91a-0b2a-43e0-84cc-390bf107c41f] 364 X-Request-Id: [d1be2bba-6c05-463e-a92b-c1867a50b5bf]
365 X-Runtime: ['0.067338'] 365 X-Runtime: ['0.072562']
366 X-XSS-Protection: [1; mode=block] 366 X-XSS-Protection: [1; mode=block]
367 content-length: ['211'] 367 content-length: ['211']
368 status: {code: 200, message: OK} 368 status: {code: 200, message: OK}
@@ -376,7 +376,7 @@ interactions:
376 Content-Length: ['0'] 376 Content-Length: ['0']
377 User-Agent: [python-requests/2.18.4] 377 User-Agent: [python-requests/2.18.4]
378 method: DELETE 378 method: DELETE
379 uri: http://localhost:3000/api/v1/lists/48 379 uri: http://localhost:3000/api/v1/lists/3
380 response: 380 response:
381 body: {string: '{}'} 381 body: {string: '{}'}
382 headers: 382 headers:
@@ -389,8 +389,8 @@ interactions:
389 X-Download-Options: [noopen] 389 X-Download-Options: [noopen]
390 X-Frame-Options: [SAMEORIGIN] 390 X-Frame-Options: [SAMEORIGIN]
391 X-Permitted-Cross-Domain-Policies: [none] 391 X-Permitted-Cross-Domain-Policies: [none]
392 X-Request-Id: [c212c87e-6fd8-4955-84ea-8ed4a346463b] 392 X-Request-Id: [4d33e7eb-8d57-465c-973a-82967971763f]
393 X-Runtime: ['0.065464'] 393 X-Runtime: ['0.038794']
394 X-XSS-Protection: [1; mode=block] 394 X-XSS-Protection: [1; mode=block]
395 content-length: ['2'] 395 content-length: ['2']
396 status: {code: 200, message: OK} 396 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)