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 781db8b..6e52143 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":"3","title":"ham burglars"}'} 15 body: {string: '{"id":"23","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: [b41ce740-9bdc-450d-9673-6120aad25e27] 26 X-Request-Id: [0ba2e550-2701-4ba4-a6df-2bf9af846f50]
27 X-Runtime: ['0.043715'] 27 X-Runtime: ['0.032579']
28 X-XSS-Protection: [1; mode=block] 28 X-XSS-Protection: [1; mode=block]
29 content-length: ['33'] 29 content-length: ['34']
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":1,"following_count":0,"statuses_count":0,"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":3,"following_count":1,"statuses_count":16,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"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: [6fbf035d-a73c-4178-82e7-12a3abd321b4] 53 X-Request-Id: [74394ac8-9c79-42cc-9187-b44f92fc5af5]
54 X-Runtime: ['0.023119'] 54 X-Runtime: ['0.022118']
55 X-XSS-Protection: [1; mode=block] 55 X-XSS-Protection: [1; mode=block]
56 content-length: ['609'] 56 content-length: ['610']
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: [e397737b-a685-4e0d-8e56-c5fbb7716be2] 82 X-Request-Id: [b396cc05-f3ea-431d-824d-768c011b07df]
83 X-Runtime: ['0.034676'] 83 X-Runtime: ['0.030474']
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/3/accounts 98 uri: http://localhost:3000/api/v1/lists/23/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: [7df89e97-661f-4b96-bef8-c89326ff70a9] 111 X-Request-Id: [72858bb4-d338-4695-a38e-9240eeb37a60]
112 X-Runtime: ['0.056773'] 112 X-Runtime: ['0.070906']
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/3/accounts 125 uri: http://localhost:3000/api/v1/lists/23/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":1,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}]'} 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":16,"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/3/accounts?since_id=1>; rel="prev"'] 131 Link: ['<http://localhost:3000/api/v1/lists/23/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: [96ba134e-49e8-4dc2-8226-4483d24b4037] 139 X-Request-Id: [8b177dee-43f2-4fc5-9db1-a906c8b4f29e]
140 X-Runtime: ['0.021782'] 140 X-Runtime: ['0.023825']
141 X-XSS-Protection: [1; mode=block] 141 X-XSS-Protection: [1; mode=block]
142 content-length: ['525'] 142 content-length: ['526']
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: [c09bce26-3ff1-4bb8-b7dc-59a9e8e01aa6] 167 X-Request-Id: [04f70bd2-e950-48ee-b0aa-99b02ab53d0a]
168 X-Runtime: ['0.053762'] 168 X-Runtime: ['0.056326']
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/3/accounts 181 uri: http://localhost:3000/api/v1/lists/23/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: [a2702584-316c-4f75-b6d1-b0fc4f4b8017] 194 X-Request-Id: [0d6e50ca-46be-4a05-b58a-1d8be45add6d]
195 X-Runtime: ['0.023216'] 195 X-Runtime: ['0.019933']
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: [b20c47c7-4ccd-46a0-932f-07fce792856d] 223 X-Request-Id: [3d1171e6-ea9e-4221-a85e-51c51047fce7]
224 X-Runtime: ['0.071168'] 224 X-Runtime: ['0.072940']
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/3/accounts 239 uri: http://localhost:3000/api/v1/lists/23/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: [f5e2187b-726d-4a2b-a779-10b82ad3e905] 252 X-Request-Id: [e4b229ef-d9cf-44ee-9676-88ef39a6f6ef]
253 X-Runtime: ['0.042406'] 253 X-Runtime: ['0.076555']
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/3/accounts 266 uri: http://localhost:3000/api/v1/lists/23/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":1,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}]'} 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":16,"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/3/accounts?since_id=1>; rel="prev"'] 272 Link: ['<http://localhost:3000/api/v1/lists/23/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: [eba683a4-4688-426a-b11a-566d486b2c8e] 280 X-Request-Id: [9a980948-de02-44d3-934d-95fad60c7e01]
281 X-Runtime: ['0.027438'] 281 X-Runtime: ['0.060008']
282 X-XSS-Protection: [1; mode=block] 282 X-XSS-Protection: [1; mode=block]
283 content-length: ['525'] 283 content-length: ['526']
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/3/accounts 296 uri: http://localhost:3000/api/v1/lists/23/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: [9c084136-2e78-45df-bea7-5d194672a358] 309 X-Request-Id: [bc97a9d9-9080-4298-972f-fcfbd976fc58]
310 X-Runtime: ['0.031512'] 310 X-Runtime: ['0.030609']
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/3/accounts 323 uri: http://localhost:3000/api/v1/lists/23/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: [9c87a884-72e6-4fe0-9c92-b7770c1741d2] 336 X-Request-Id: [933b4826-f6cc-41b3-a570-7dd0534ae664]
337 X-Runtime: ['0.017584'] 337 X-Runtime: ['0.018318']
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: [d8b4495d-d870-4cd7-8a2c-2f8635e4d72b] 364 X-Request-Id: [7786e4c9-3e80-4c34-ac21-b24d1a905641]
365 X-Runtime: ['0.048762'] 365 X-Runtime: ['0.047449']
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/3 379 uri: http://localhost:3000/api/v1/lists/23
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: [30228e1f-6158-4012-9c6b-4ca8268b6c62] 392 X-Request-Id: [793118f9-f0d9-463d-9c02-d3745dc2990b]
393 X-Runtime: ['0.027308'] 393 X-Runtime: ['0.032512']
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)