diff options
author | Lorenz Diener <[email protected]> | 2018-07-30 20:25:25 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-07-30 20:25:25 +0200 |
commit | 087fb249dad981be4dfbfea13a842bfcc1cd8fd7 (patch) | |
tree | 5226e6a544353fedac0c8ae133188a7d9d510f8a /tests/cassettes/test_list_add_remove_account.yaml | |
parent | 8feed51075af332c45e6aacd106550eff2233675 (diff) | |
download | mastodon.py-087fb249dad981be4dfbfea13a842bfcc1cd8fd7.tar.gz |
Fix tests
Diffstat (limited to 'tests/cassettes/test_list_add_remove_account.yaml')
-rw-r--r-- | tests/cassettes/test_list_add_remove_account.yaml | 138 |
1 files changed, 70 insertions, 68 deletions
diff --git a/tests/cassettes/test_list_add_remove_account.yaml b/tests/cassettes/test_list_add_remove_account.yaml index 96d8eb0..c70cfd0 100644 --- a/tests/cassettes/test_list_add_remove_account.yaml +++ b/tests/cassettes/test_list_add_remove_account.yaml | |||
@@ -12,11 +12,11 @@ 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":"8","title":"ham burglars"}'} | 15 | body: {string: '{"id":"11","title":"ham burglars"}'} |
16 | headers: | 16 | headers: |
17 | Cache-Control: ['max-age=0, private, must-revalidate'] | 17 | Cache-Control: ['max-age=0, private, must-revalidate'] |
18 | Content-Type: [application/json; charset=utf-8] | 18 | Content-Type: [application/json; charset=utf-8] |
19 | ETag: [W/"fa515662bd5f01d24648b40d4019aad1"] | 19 | ETag: [W/"2e1510bf7e5d27be138dad5ee706a95c"] |
20 | Referrer-Policy: [strict-origin-when-cross-origin] | 20 | Referrer-Policy: [strict-origin-when-cross-origin] |
21 | Transfer-Encoding: [chunked] | 21 | Transfer-Encoding: [chunked] |
22 | Vary: ['Accept-Encoding, Origin'] | 22 | Vary: ['Accept-Encoding, Origin'] |
@@ -24,10 +24,10 @@ interactions: | |||
24 | X-Download-Options: [noopen] | 24 | X-Download-Options: [noopen] |
25 | X-Frame-Options: [SAMEORIGIN] | 25 | X-Frame-Options: [SAMEORIGIN] |
26 | X-Permitted-Cross-Domain-Policies: [none] | 26 | X-Permitted-Cross-Domain-Policies: [none] |
27 | X-Request-Id: [6f26ef1b-5e51-4cbd-b165-08bd0ba19035] | 27 | X-Request-Id: [ba3b9608-0492-4e9e-bf94-3c0cec978c5d] |
28 | X-Runtime: ['0.024120'] | 28 | X-Runtime: ['0.052839'] |
29 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
30 | content-length: ['33'] | 30 | content-length: ['34'] |
31 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
32 | - request: | 32 | - request: |
33 | body: null | 33 | body: null |
@@ -40,11 +40,11 @@ interactions: | |||
40 | method: GET | 40 | method: GET |
41 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 41 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
42 | response: | 42 | response: |
43 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":5,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} | 43 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":67,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} |
44 | headers: | 44 | headers: |
45 | Cache-Control: ['max-age=0, private, must-revalidate'] | 45 | Cache-Control: ['max-age=0, private, must-revalidate'] |
46 | Content-Type: [application/json; charset=utf-8] | 46 | Content-Type: [application/json; charset=utf-8] |
47 | ETag: [W/"2c1db1f5c9c342772002bf0d4ff450ec"] | 47 | ETag: [W/"77222b64dac9878e096ec88200a8855c"] |
48 | Referrer-Policy: [strict-origin-when-cross-origin] | 48 | Referrer-Policy: [strict-origin-when-cross-origin] |
49 | Transfer-Encoding: [chunked] | 49 | Transfer-Encoding: [chunked] |
50 | Vary: ['Accept-Encoding, Origin'] | 50 | Vary: ['Accept-Encoding, Origin'] |
@@ -52,28 +52,29 @@ interactions: | |||
52 | X-Download-Options: [noopen] | 52 | X-Download-Options: [noopen] |
53 | X-Frame-Options: [SAMEORIGIN] | 53 | X-Frame-Options: [SAMEORIGIN] |
54 | X-Permitted-Cross-Domain-Policies: [none] | 54 | X-Permitted-Cross-Domain-Policies: [none] |
55 | X-Request-Id: [60e7b33d-da24-4ff7-8f2f-3264d837c2b6] | 55 | X-Request-Id: [6c72b0ad-2086-45ff-a7de-9fdf35686b8a] |
56 | X-Runtime: ['0.018413'] | 56 | X-Runtime: ['0.026289'] |
57 | X-XSS-Protection: [1; mode=block] | 57 | X-XSS-Protection: [1; mode=block] |
58 | content-length: ['634'] | 58 | content-length: ['635'] |
59 | status: {code: 200, message: OK} | 59 | status: {code: 200, message: OK} |
60 | - request: | 60 | - request: |
61 | body: null | 61 | body: reblogs=True&id=1 |
62 | headers: | 62 | headers: |
63 | Accept: ['*/*'] | 63 | Accept: ['*/*'] |
64 | Accept-Encoding: ['gzip, deflate'] | 64 | Accept-Encoding: ['gzip, deflate'] |
65 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 65 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
66 | Connection: [keep-alive] | 66 | Connection: [keep-alive] |
67 | Content-Length: ['0'] | 67 | Content-Length: ['17'] |
68 | Content-Type: [application/x-www-form-urlencoded] | ||
68 | User-Agent: [python-requests/2.18.4] | 69 | User-Agent: [python-requests/2.18.4] |
69 | method: POST | 70 | method: POST |
70 | uri: http://localhost:3000/api/v1/accounts/1/follow | 71 | uri: http://localhost:3000/api/v1/accounts/1/follow |
71 | response: | 72 | response: |
72 | body: {string: '{"id":"1","following":true,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'} | 73 | body: {string: '{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'} |
73 | headers: | 74 | headers: |
74 | Cache-Control: ['max-age=0, private, must-revalidate'] | 75 | Cache-Control: ['max-age=0, private, must-revalidate'] |
75 | Content-Type: [application/json; charset=utf-8] | 76 | Content-Type: [application/json; charset=utf-8] |
76 | ETag: [W/"6de77dd5834bb5fc499eed9cda4081de"] | 77 | ETag: [W/"8b9b4c18fc17527693bdad489048280a"] |
77 | Referrer-Policy: [strict-origin-when-cross-origin] | 78 | Referrer-Policy: [strict-origin-when-cross-origin] |
78 | Transfer-Encoding: [chunked] | 79 | Transfer-Encoding: [chunked] |
79 | Vary: ['Accept-Encoding, Origin'] | 80 | Vary: ['Accept-Encoding, Origin'] |
@@ -81,10 +82,10 @@ interactions: | |||
81 | X-Download-Options: [noopen] | 82 | X-Download-Options: [noopen] |
82 | X-Frame-Options: [SAMEORIGIN] | 83 | X-Frame-Options: [SAMEORIGIN] |
83 | X-Permitted-Cross-Domain-Policies: [none] | 84 | X-Permitted-Cross-Domain-Policies: [none] |
84 | X-Request-Id: [bd78a915-f029-4986-b952-dabd4dda120c] | 85 | X-Request-Id: [47c16f53-232d-46ae-aab6-5bc99c1b197b] |
85 | X-Runtime: ['0.063270'] | 86 | X-Runtime: ['0.075269'] |
86 | X-XSS-Protection: [1; mode=block] | 87 | X-XSS-Protection: [1; mode=block] |
87 | content-length: ['174'] | 88 | content-length: ['173'] |
88 | status: {code: 200, message: OK} | 89 | status: {code: 200, message: OK} |
89 | - request: | 90 | - request: |
90 | body: account_ids%5B%5D=1 | 91 | body: account_ids%5B%5D=1 |
@@ -97,13 +98,13 @@ interactions: | |||
97 | Content-Type: [application/x-www-form-urlencoded] | 98 | Content-Type: [application/x-www-form-urlencoded] |
98 | User-Agent: [python-requests/2.18.4] | 99 | User-Agent: [python-requests/2.18.4] |
99 | method: POST | 100 | method: POST |
100 | uri: http://localhost:3000/api/v1/lists/8/accounts | 101 | uri: http://localhost:3000/api/v1/lists/11/accounts |
101 | response: | 102 | response: |
102 | body: {string: '{}'} | 103 | body: {string: '{}'} |
103 | headers: | 104 | headers: |
104 | Cache-Control: ['max-age=0, private, must-revalidate'] | 105 | Cache-Control: ['max-age=0, private, must-revalidate'] |
105 | Content-Type: [application/json; charset=utf-8] | 106 | Content-Type: [application/json; charset=utf-8] |
106 | ETag: [W/"bf92612b432ba5b51a56b55e4c0b9817"] | 107 | ETag: [W/"cc038aae2038665db3b200fc78f63649"] |
107 | Referrer-Policy: [strict-origin-when-cross-origin] | 108 | Referrer-Policy: [strict-origin-when-cross-origin] |
108 | Transfer-Encoding: [chunked] | 109 | Transfer-Encoding: [chunked] |
109 | Vary: ['Accept-Encoding, Origin'] | 110 | Vary: ['Accept-Encoding, Origin'] |
@@ -111,8 +112,8 @@ interactions: | |||
111 | X-Download-Options: [noopen] | 112 | X-Download-Options: [noopen] |
112 | X-Frame-Options: [SAMEORIGIN] | 113 | X-Frame-Options: [SAMEORIGIN] |
113 | X-Permitted-Cross-Domain-Policies: [none] | 114 | X-Permitted-Cross-Domain-Policies: [none] |
114 | X-Request-Id: [f89cdcb6-0bd2-434f-83b1-5a285359bc30] | 115 | X-Request-Id: [06975fb9-7db6-4abc-9f2a-ef6527833977] |
115 | X-Runtime: ['0.047258'] | 116 | X-Runtime: ['0.132509'] |
116 | X-XSS-Protection: [1; mode=block] | 117 | X-XSS-Protection: [1; mode=block] |
117 | content-length: ['2'] | 118 | content-length: ['2'] |
118 | status: {code: 200, message: OK} | 119 | status: {code: 200, message: OK} |
@@ -125,14 +126,14 @@ interactions: | |||
125 | Connection: [keep-alive] | 126 | Connection: [keep-alive] |
126 | User-Agent: [python-requests/2.18.4] | 127 | User-Agent: [python-requests/2.18.4] |
127 | method: GET | 128 | method: GET |
128 | uri: http://localhost:3000/api/v1/lists/8/accounts | 129 | uri: http://localhost:3000/api/v1/lists/11/accounts |
129 | response: | 130 | response: |
130 | body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":5,"emojis":[],"fields":[]}]'} | 131 | body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":67,"emojis":[],"fields":[]}]'} |
131 | headers: | 132 | headers: |
132 | Cache-Control: ['max-age=0, private, must-revalidate'] | 133 | Cache-Control: ['max-age=0, private, must-revalidate'] |
133 | Content-Type: [application/json; charset=utf-8] | 134 | Content-Type: [application/json; charset=utf-8] |
134 | ETag: [W/"a474745c1f57a6da8e80efa488b51726"] | 135 | ETag: [W/"48e17006c2bcb847af7e9265b33f6bfc"] |
135 | Link: ['<http://localhost:3000/api/v1/lists/8/accounts?since_id=1>; rel="prev"'] | 136 | Link: ['<http://localhost:3000/api/v1/lists/11/accounts?since_id=1>; rel="prev"'] |
136 | Referrer-Policy: [strict-origin-when-cross-origin] | 137 | Referrer-Policy: [strict-origin-when-cross-origin] |
137 | Transfer-Encoding: [chunked] | 138 | Transfer-Encoding: [chunked] |
138 | Vary: ['Accept-Encoding, Origin'] | 139 | Vary: ['Accept-Encoding, Origin'] |
@@ -140,10 +141,10 @@ interactions: | |||
140 | X-Download-Options: [noopen] | 141 | X-Download-Options: [noopen] |
141 | X-Frame-Options: [SAMEORIGIN] | 142 | X-Frame-Options: [SAMEORIGIN] |
142 | X-Permitted-Cross-Domain-Policies: [none] | 143 | X-Permitted-Cross-Domain-Policies: [none] |
143 | X-Request-Id: [a5f30350-5070-4d6b-bf1f-b8a320da9f2a] | 144 | X-Request-Id: [f76e15ce-e515-45c9-96c3-92f7bd90fa99] |
144 | X-Runtime: ['0.018499'] | 145 | X-Runtime: ['0.053463'] |
145 | X-XSS-Protection: [1; mode=block] | 146 | X-XSS-Protection: [1; mode=block] |
146 | content-length: ['550'] | 147 | content-length: ['551'] |
147 | status: {code: 200, message: OK} | 148 | status: {code: 200, message: OK} |
148 | - request: | 149 | - request: |
149 | body: null | 150 | body: null |
@@ -161,7 +162,7 @@ interactions: | |||
161 | headers: | 162 | headers: |
162 | Cache-Control: ['max-age=0, private, must-revalidate'] | 163 | Cache-Control: ['max-age=0, private, must-revalidate'] |
163 | Content-Type: [application/json; charset=utf-8] | 164 | Content-Type: [application/json; charset=utf-8] |
164 | ETag: [W/"8afbf44289c39f499be3ca55837eced5"] | 165 | ETag: [W/"c1bd0e2902322c7b40156adc012ff28e"] |
165 | Referrer-Policy: [strict-origin-when-cross-origin] | 166 | Referrer-Policy: [strict-origin-when-cross-origin] |
166 | Transfer-Encoding: [chunked] | 167 | Transfer-Encoding: [chunked] |
167 | Vary: ['Accept-Encoding, Origin'] | 168 | Vary: ['Accept-Encoding, Origin'] |
@@ -169,8 +170,8 @@ interactions: | |||
169 | X-Download-Options: [noopen] | 170 | X-Download-Options: [noopen] |
170 | X-Frame-Options: [SAMEORIGIN] | 171 | X-Frame-Options: [SAMEORIGIN] |
171 | X-Permitted-Cross-Domain-Policies: [none] | 172 | X-Permitted-Cross-Domain-Policies: [none] |
172 | X-Request-Id: [0f7ff949-22cd-4d68-92cc-90c7ee5c8dd8] | 173 | X-Request-Id: [07363229-165e-43e5-8f91-32d7fba50802] |
173 | X-Runtime: ['0.049951'] | 174 | X-Runtime: ['0.082557'] |
174 | X-XSS-Protection: [1; mode=block] | 175 | X-XSS-Protection: [1; mode=block] |
175 | content-length: ['175'] | 176 | content-length: ['175'] |
176 | status: {code: 200, message: OK} | 177 | status: {code: 200, message: OK} |
@@ -183,13 +184,13 @@ interactions: | |||
183 | Connection: [keep-alive] | 184 | Connection: [keep-alive] |
184 | User-Agent: [python-requests/2.18.4] | 185 | User-Agent: [python-requests/2.18.4] |
185 | method: GET | 186 | method: GET |
186 | uri: http://localhost:3000/api/v1/lists/8/accounts | 187 | uri: http://localhost:3000/api/v1/lists/11/accounts |
187 | response: | 188 | response: |
188 | body: {string: '[]'} | 189 | body: {string: '[]'} |
189 | headers: | 190 | headers: |
190 | Cache-Control: ['max-age=0, private, must-revalidate'] | 191 | Cache-Control: ['max-age=0, private, must-revalidate'] |
191 | Content-Type: [application/json; charset=utf-8] | 192 | Content-Type: [application/json; charset=utf-8] |
192 | ETag: [W/"d77e610161dd1bed88178cffc05bb02a"] | 193 | ETag: [W/"f82743b7a0062bbc98545212015cc152"] |
193 | Referrer-Policy: [strict-origin-when-cross-origin] | 194 | Referrer-Policy: [strict-origin-when-cross-origin] |
194 | Transfer-Encoding: [chunked] | 195 | Transfer-Encoding: [chunked] |
195 | Vary: ['Accept-Encoding, Origin'] | 196 | Vary: ['Accept-Encoding, Origin'] |
@@ -197,28 +198,29 @@ interactions: | |||
197 | X-Download-Options: [noopen] | 198 | X-Download-Options: [noopen] |
198 | X-Frame-Options: [SAMEORIGIN] | 199 | X-Frame-Options: [SAMEORIGIN] |
199 | X-Permitted-Cross-Domain-Policies: [none] | 200 | X-Permitted-Cross-Domain-Policies: [none] |
200 | X-Request-Id: [627eb941-8858-4548-9da8-a138a77ad8dc] | 201 | X-Request-Id: [db5b3eaa-19eb-42c2-8944-955f2ea1009a] |
201 | X-Runtime: ['0.023576'] | 202 | X-Runtime: ['0.052515'] |
202 | X-XSS-Protection: [1; mode=block] | 203 | X-XSS-Protection: [1; mode=block] |
203 | content-length: ['2'] | 204 | content-length: ['2'] |
204 | status: {code: 200, message: OK} | 205 | status: {code: 200, message: OK} |
205 | - request: | 206 | - request: |
206 | body: null | 207 | body: reblogs=True&id=1 |
207 | headers: | 208 | headers: |
208 | Accept: ['*/*'] | 209 | Accept: ['*/*'] |
209 | Accept-Encoding: ['gzip, deflate'] | 210 | Accept-Encoding: ['gzip, deflate'] |
210 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 211 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
211 | Connection: [keep-alive] | 212 | Connection: [keep-alive] |
212 | Content-Length: ['0'] | 213 | Content-Length: ['17'] |
214 | Content-Type: [application/x-www-form-urlencoded] | ||
213 | User-Agent: [python-requests/2.18.4] | 215 | User-Agent: [python-requests/2.18.4] |
214 | method: POST | 216 | method: POST |
215 | uri: http://localhost:3000/api/v1/accounts/1/follow | 217 | uri: http://localhost:3000/api/v1/accounts/1/follow |
216 | response: | 218 | response: |
217 | body: {string: '{"id":"1","following":true,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'} | 219 | body: {string: '{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'} |
218 | headers: | 220 | headers: |
219 | Cache-Control: ['max-age=0, private, must-revalidate'] | 221 | Cache-Control: ['max-age=0, private, must-revalidate'] |
220 | Content-Type: [application/json; charset=utf-8] | 222 | Content-Type: [application/json; charset=utf-8] |
221 | ETag: [W/"6de77dd5834bb5fc499eed9cda4081de"] | 223 | ETag: [W/"8b9b4c18fc17527693bdad489048280a"] |
222 | Referrer-Policy: [strict-origin-when-cross-origin] | 224 | Referrer-Policy: [strict-origin-when-cross-origin] |
223 | Transfer-Encoding: [chunked] | 225 | Transfer-Encoding: [chunked] |
224 | Vary: ['Accept-Encoding, Origin'] | 226 | Vary: ['Accept-Encoding, Origin'] |
@@ -226,10 +228,10 @@ interactions: | |||
226 | X-Download-Options: [noopen] | 228 | X-Download-Options: [noopen] |
227 | X-Frame-Options: [SAMEORIGIN] | 229 | X-Frame-Options: [SAMEORIGIN] |
228 | X-Permitted-Cross-Domain-Policies: [none] | 230 | X-Permitted-Cross-Domain-Policies: [none] |
229 | X-Request-Id: [0d1ce293-50c1-4294-b91e-a76cf5454494] | 231 | X-Request-Id: [ec06d458-e3c1-42b2-ada8-c8f9bb3dc5b9] |
230 | X-Runtime: ['0.071417'] | 232 | X-Runtime: ['0.134772'] |
231 | X-XSS-Protection: [1; mode=block] | 233 | X-XSS-Protection: [1; mode=block] |
232 | content-length: ['174'] | 234 | content-length: ['173'] |
233 | status: {code: 200, message: OK} | 235 | status: {code: 200, message: OK} |
234 | - request: | 236 | - request: |
235 | body: account_ids%5B%5D=1 | 237 | body: account_ids%5B%5D=1 |
@@ -242,13 +244,13 @@ interactions: | |||
242 | Content-Type: [application/x-www-form-urlencoded] | 244 | Content-Type: [application/x-www-form-urlencoded] |
243 | User-Agent: [python-requests/2.18.4] | 245 | User-Agent: [python-requests/2.18.4] |
244 | method: POST | 246 | method: POST |
245 | uri: http://localhost:3000/api/v1/lists/8/accounts | 247 | uri: http://localhost:3000/api/v1/lists/11/accounts |
246 | response: | 248 | response: |
247 | body: {string: '{}'} | 249 | body: {string: '{}'} |
248 | headers: | 250 | headers: |
249 | Cache-Control: ['max-age=0, private, must-revalidate'] | 251 | Cache-Control: ['max-age=0, private, must-revalidate'] |
250 | Content-Type: [application/json; charset=utf-8] | 252 | Content-Type: [application/json; charset=utf-8] |
251 | ETag: [W/"bf92612b432ba5b51a56b55e4c0b9817"] | 253 | ETag: [W/"0cdb2e7c6eb5550ff52103826ed9e2cd"] |
252 | Referrer-Policy: [strict-origin-when-cross-origin] | 254 | Referrer-Policy: [strict-origin-when-cross-origin] |
253 | Transfer-Encoding: [chunked] | 255 | Transfer-Encoding: [chunked] |
254 | Vary: ['Accept-Encoding, Origin'] | 256 | Vary: ['Accept-Encoding, Origin'] |
@@ -256,8 +258,8 @@ interactions: | |||
256 | X-Download-Options: [noopen] | 258 | X-Download-Options: [noopen] |
257 | X-Frame-Options: [SAMEORIGIN] | 259 | X-Frame-Options: [SAMEORIGIN] |
258 | X-Permitted-Cross-Domain-Policies: [none] | 260 | X-Permitted-Cross-Domain-Policies: [none] |
259 | X-Request-Id: [b8a42547-99e2-402b-8745-2f7c132dcca0] | 261 | X-Request-Id: [1dbf14ec-bd46-4d0c-a05f-e467cedf202f] |
260 | X-Runtime: ['0.041756'] | 262 | X-Runtime: ['0.061339'] |
261 | X-XSS-Protection: [1; mode=block] | 263 | X-XSS-Protection: [1; mode=block] |
262 | content-length: ['2'] | 264 | content-length: ['2'] |
263 | status: {code: 200, message: OK} | 265 | status: {code: 200, message: OK} |
@@ -270,14 +272,14 @@ interactions: | |||
270 | Connection: [keep-alive] | 272 | Connection: [keep-alive] |
271 | User-Agent: [python-requests/2.18.4] | 273 | User-Agent: [python-requests/2.18.4] |
272 | method: GET | 274 | method: GET |
273 | uri: http://localhost:3000/api/v1/lists/8/accounts | 275 | uri: http://localhost:3000/api/v1/lists/11/accounts |
274 | response: | 276 | response: |
275 | body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":5,"emojis":[],"fields":[]}]'} | 277 | body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":67,"emojis":[],"fields":[]}]'} |
276 | headers: | 278 | headers: |
277 | Cache-Control: ['max-age=0, private, must-revalidate'] | 279 | Cache-Control: ['max-age=0, private, must-revalidate'] |
278 | Content-Type: [application/json; charset=utf-8] | 280 | Content-Type: [application/json; charset=utf-8] |
279 | ETag: [W/"a474745c1f57a6da8e80efa488b51726"] | 281 | ETag: [W/"3e75598a9b305d16f2618ab63ca1d6ad"] |
280 | Link: ['<http://localhost:3000/api/v1/lists/8/accounts?since_id=1>; rel="prev"'] | 282 | Link: ['<http://localhost:3000/api/v1/lists/11/accounts?since_id=1>; rel="prev"'] |
281 | Referrer-Policy: [strict-origin-when-cross-origin] | 283 | Referrer-Policy: [strict-origin-when-cross-origin] |
282 | Transfer-Encoding: [chunked] | 284 | Transfer-Encoding: [chunked] |
283 | Vary: ['Accept-Encoding, Origin'] | 285 | Vary: ['Accept-Encoding, Origin'] |
@@ -285,10 +287,10 @@ interactions: | |||
285 | X-Download-Options: [noopen] | 287 | X-Download-Options: [noopen] |
286 | X-Frame-Options: [SAMEORIGIN] | 288 | X-Frame-Options: [SAMEORIGIN] |
287 | X-Permitted-Cross-Domain-Policies: [none] | 289 | X-Permitted-Cross-Domain-Policies: [none] |
288 | X-Request-Id: [0f5df72d-97aa-4eea-8049-aa6c9bcb819d] | 290 | X-Request-Id: [226a577e-da14-4704-9dbc-030e01583697] |
289 | X-Runtime: ['0.017421'] | 291 | X-Runtime: ['0.041821'] |
290 | X-XSS-Protection: [1; mode=block] | 292 | X-XSS-Protection: [1; mode=block] |
291 | content-length: ['550'] | 293 | content-length: ['551'] |
292 | status: {code: 200, message: OK} | 294 | status: {code: 200, message: OK} |
293 | - request: | 295 | - request: |
294 | body: account_ids%5B%5D=1 | 296 | body: account_ids%5B%5D=1 |
@@ -301,13 +303,13 @@ interactions: | |||
301 | Content-Type: [application/x-www-form-urlencoded] | 303 | Content-Type: [application/x-www-form-urlencoded] |
302 | User-Agent: [python-requests/2.18.4] | 304 | User-Agent: [python-requests/2.18.4] |
303 | method: DELETE | 305 | method: DELETE |
304 | uri: http://localhost:3000/api/v1/lists/8/accounts | 306 | uri: http://localhost:3000/api/v1/lists/11/accounts |
305 | response: | 307 | response: |
306 | body: {string: '{}'} | 308 | body: {string: '{}'} |
307 | headers: | 309 | headers: |
308 | Cache-Control: ['max-age=0, private, must-revalidate'] | 310 | Cache-Control: ['max-age=0, private, must-revalidate'] |
309 | Content-Type: [application/json; charset=utf-8] | 311 | Content-Type: [application/json; charset=utf-8] |
310 | ETag: [W/"bf92612b432ba5b51a56b55e4c0b9817"] | 312 | ETag: [W/"0cdb2e7c6eb5550ff52103826ed9e2cd"] |
311 | Referrer-Policy: [strict-origin-when-cross-origin] | 313 | Referrer-Policy: [strict-origin-when-cross-origin] |
312 | Transfer-Encoding: [chunked] | 314 | Transfer-Encoding: [chunked] |
313 | Vary: ['Accept-Encoding, Origin'] | 315 | Vary: ['Accept-Encoding, Origin'] |
@@ -315,8 +317,8 @@ interactions: | |||
315 | X-Download-Options: [noopen] | 317 | X-Download-Options: [noopen] |
316 | X-Frame-Options: [SAMEORIGIN] | 318 | X-Frame-Options: [SAMEORIGIN] |
317 | X-Permitted-Cross-Domain-Policies: [none] | 319 | X-Permitted-Cross-Domain-Policies: [none] |
318 | X-Request-Id: [82e03414-ef8d-413f-8805-4bc9b49aef92] | 320 | X-Request-Id: [00b2aa70-ee0c-49e9-a9d4-8830f70a010d] |
319 | X-Runtime: ['0.024025'] | 321 | X-Runtime: ['0.056654'] |
320 | X-XSS-Protection: [1; mode=block] | 322 | X-XSS-Protection: [1; mode=block] |
321 | content-length: ['2'] | 323 | content-length: ['2'] |
322 | status: {code: 200, message: OK} | 324 | status: {code: 200, message: OK} |
@@ -329,13 +331,13 @@ interactions: | |||
329 | Connection: [keep-alive] | 331 | Connection: [keep-alive] |
330 | User-Agent: [python-requests/2.18.4] | 332 | User-Agent: [python-requests/2.18.4] |
331 | method: GET | 333 | method: GET |
332 | uri: http://localhost:3000/api/v1/lists/8/accounts | 334 | uri: http://localhost:3000/api/v1/lists/11/accounts |
333 | response: | 335 | response: |
334 | body: {string: '[]'} | 336 | body: {string: '[]'} |
335 | headers: | 337 | headers: |
336 | Cache-Control: ['max-age=0, private, must-revalidate'] | 338 | Cache-Control: ['max-age=0, private, must-revalidate'] |
337 | Content-Type: [application/json; charset=utf-8] | 339 | Content-Type: [application/json; charset=utf-8] |
338 | ETag: [W/"d77e610161dd1bed88178cffc05bb02a"] | 340 | ETag: [W/"6fddf1677be1263a4a2fd127d789d19a"] |
339 | Referrer-Policy: [strict-origin-when-cross-origin] | 341 | Referrer-Policy: [strict-origin-when-cross-origin] |
340 | Transfer-Encoding: [chunked] | 342 | Transfer-Encoding: [chunked] |
341 | Vary: ['Accept-Encoding, Origin'] | 343 | Vary: ['Accept-Encoding, Origin'] |
@@ -343,8 +345,8 @@ interactions: | |||
343 | X-Download-Options: [noopen] | 345 | X-Download-Options: [noopen] |
344 | X-Frame-Options: [SAMEORIGIN] | 346 | X-Frame-Options: [SAMEORIGIN] |
345 | X-Permitted-Cross-Domain-Policies: [none] | 347 | X-Permitted-Cross-Domain-Policies: [none] |
346 | X-Request-Id: [bdc94f0f-6992-4c10-8b52-cdc10e876de9] | 348 | X-Request-Id: [6cf79d0c-2111-4260-a813-7584129f2ed5] |
347 | X-Runtime: ['0.021202'] | 349 | X-Runtime: ['0.047343'] |
348 | X-XSS-Protection: [1; mode=block] | 350 | X-XSS-Protection: [1; mode=block] |
349 | content-length: ['2'] | 351 | content-length: ['2'] |
350 | status: {code: 200, message: OK} | 352 | status: {code: 200, message: OK} |
@@ -364,7 +366,7 @@ interactions: | |||
364 | headers: | 366 | headers: |
365 | Cache-Control: ['max-age=0, private, must-revalidate'] | 367 | Cache-Control: ['max-age=0, private, must-revalidate'] |
366 | Content-Type: [application/json; charset=utf-8] | 368 | Content-Type: [application/json; charset=utf-8] |
367 | ETag: [W/"8afbf44289c39f499be3ca55837eced5"] | 369 | ETag: [W/"72b6665162a1eb117de3887134c94c6d"] |
368 | Referrer-Policy: [strict-origin-when-cross-origin] | 370 | Referrer-Policy: [strict-origin-when-cross-origin] |
369 | Transfer-Encoding: [chunked] | 371 | Transfer-Encoding: [chunked] |
370 | Vary: ['Accept-Encoding, Origin'] | 372 | Vary: ['Accept-Encoding, Origin'] |
@@ -372,8 +374,8 @@ interactions: | |||
372 | X-Download-Options: [noopen] | 374 | X-Download-Options: [noopen] |
373 | X-Frame-Options: [SAMEORIGIN] | 375 | X-Frame-Options: [SAMEORIGIN] |
374 | X-Permitted-Cross-Domain-Policies: [none] | 376 | X-Permitted-Cross-Domain-Policies: [none] |
375 | X-Request-Id: [5d35fd25-ad27-4d3c-8188-fce3458621f1] | 377 | X-Request-Id: [0c0227f0-d6d0-4326-9fbd-609347c580cc] |
376 | X-Runtime: ['0.044831'] | 378 | X-Runtime: ['0.096583'] |
377 | X-XSS-Protection: [1; mode=block] | 379 | X-XSS-Protection: [1; mode=block] |
378 | content-length: ['175'] | 380 | content-length: ['175'] |
379 | status: {code: 200, message: OK} | 381 | status: {code: 200, message: OK} |
@@ -387,13 +389,13 @@ interactions: | |||
387 | Content-Length: ['0'] | 389 | Content-Length: ['0'] |
388 | User-Agent: [python-requests/2.18.4] | 390 | User-Agent: [python-requests/2.18.4] |
389 | method: DELETE | 391 | method: DELETE |
390 | uri: http://localhost:3000/api/v1/lists/8 | 392 | uri: http://localhost:3000/api/v1/lists/11 |
391 | response: | 393 | response: |
392 | body: {string: '{}'} | 394 | body: {string: '{}'} |
393 | headers: | 395 | headers: |
394 | Cache-Control: ['max-age=0, private, must-revalidate'] | 396 | Cache-Control: ['max-age=0, private, must-revalidate'] |
395 | Content-Type: [application/json; charset=utf-8] | 397 | Content-Type: [application/json; charset=utf-8] |
396 | ETag: [W/"bf92612b432ba5b51a56b55e4c0b9817"] | 398 | ETag: [W/"0cdb2e7c6eb5550ff52103826ed9e2cd"] |
397 | Referrer-Policy: [strict-origin-when-cross-origin] | 399 | Referrer-Policy: [strict-origin-when-cross-origin] |
398 | Transfer-Encoding: [chunked] | 400 | Transfer-Encoding: [chunked] |
399 | Vary: ['Accept-Encoding, Origin'] | 401 | Vary: ['Accept-Encoding, Origin'] |
@@ -401,8 +403,8 @@ interactions: | |||
401 | X-Download-Options: [noopen] | 403 | X-Download-Options: [noopen] |
402 | X-Frame-Options: [SAMEORIGIN] | 404 | X-Frame-Options: [SAMEORIGIN] |
403 | X-Permitted-Cross-Domain-Policies: [none] | 405 | X-Permitted-Cross-Domain-Policies: [none] |
404 | X-Request-Id: [491e273f-5142-46a4-9718-23174c02ec15] | 406 | X-Request-Id: [4dd258a5-af4e-403e-ac35-3703e6428f76] |
405 | X-Runtime: ['0.021338'] | 407 | X-Runtime: ['0.064121'] |
406 | X-XSS-Protection: [1; mode=block] | 408 | X-XSS-Protection: [1; mode=block] |
407 | content-length: ['2'] | 409 | content-length: ['2'] |
408 | status: {code: 200, message: OK} | 410 | status: {code: 200, message: OK} |