diff options
Diffstat (limited to 'tests/cassettes/test_list_add_remove_account.yaml')
-rw-r--r-- | tests/cassettes/test_list_add_remove_account.yaml | 142 |
1 files changed, 71 insertions, 71 deletions
diff --git a/tests/cassettes/test_list_add_remove_account.yaml b/tests/cassettes/test_list_add_remove_account.yaml index 15d929a..96d8eb0 100644 --- a/tests/cassettes/test_list_add_remove_account.yaml +++ b/tests/cassettes/test_list_add_remove_account.yaml | |||
@@ -8,15 +8,15 @@ interactions: | |||
8 | Connection: [keep-alive] | 8 | Connection: [keep-alive] |
9 | Content-Length: ['18'] | 9 | Content-Length: ['18'] |
10 | Content-Type: [application/x-www-form-urlencoded] | 10 | Content-Type: [application/x-www-form-urlencoded] |
11 | User-Agent: [python-requests/2.9.1] | 11 | User-Agent: [python-requests/2.18.4] |
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":"8","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/"bde5505077888aca5d296491d8b152f2"] | 19 | ETag: [W/"fa515662bd5f01d24648b40d4019aad1"] |
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,8 +24,8 @@ 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: [95613d6c-bbca-4d8b-9e63-7eda5c9b287d] | 27 | X-Request-Id: [6f26ef1b-5e51-4cbd-b165-08bd0ba19035] |
28 | X-Runtime: ['0.078837'] | 28 | X-Runtime: ['0.024120'] |
29 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
30 | content-length: ['33'] | 30 | content-length: ['33'] |
31 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
@@ -36,15 +36,15 @@ interactions: | |||
36 | Accept-Encoding: ['gzip, deflate'] | 36 | Accept-Encoding: ['gzip, deflate'] |
37 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] | 37 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] |
38 | Connection: [keep-alive] | 38 | Connection: [keep-alive] |
39 | User-Agent: [python-requests/2.9.1] | 39 | User-Agent: [python-requests/2.18.4] |
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-06-05T19:58:37.960Z","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":0,"source":{"privacy":"public","sensitive":false,"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":5,"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/"13e690525c13a9baa91204f3d37766d3"] | 47 | ETag: [W/"2c1db1f5c9c342772002bf0d4ff450ec"] |
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,10 +52,10 @@ 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: [e87830c8-e61c-4976-9558-a3ec27349b1c] | 55 | X-Request-Id: [60e7b33d-da24-4ff7-8f2f-3264d837c2b6] |
56 | X-Runtime: ['0.057113'] | 56 | X-Runtime: ['0.018413'] |
57 | X-XSS-Protection: [1; mode=block] | 57 | X-XSS-Protection: [1; mode=block] |
58 | content-length: ['618'] | 58 | content-length: ['634'] |
59 | status: {code: 200, message: OK} | 59 | status: {code: 200, message: OK} |
60 | - request: | 60 | - request: |
61 | body: null | 61 | body: null |
@@ -65,7 +65,7 @@ interactions: | |||
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: ['0'] |
68 | User-Agent: [python-requests/2.9.1] | 68 | User-Agent: [python-requests/2.18.4] |
69 | method: POST | 69 | method: POST |
70 | uri: http://localhost:3000/api/v1/accounts/1/follow | 70 | uri: http://localhost:3000/api/v1/accounts/1/follow |
71 | response: | 71 | response: |
@@ -73,7 +73,7 @@ interactions: | |||
73 | headers: | 73 | headers: |
74 | Cache-Control: ['max-age=0, private, must-revalidate'] | 74 | Cache-Control: ['max-age=0, private, must-revalidate'] |
75 | Content-Type: [application/json; charset=utf-8] | 75 | Content-Type: [application/json; charset=utf-8] |
76 | ETag: [W/"594ca73cca2f5b3858f980d2876be423"] | 76 | ETag: [W/"6de77dd5834bb5fc499eed9cda4081de"] |
77 | Referrer-Policy: [strict-origin-when-cross-origin] | 77 | Referrer-Policy: [strict-origin-when-cross-origin] |
78 | Transfer-Encoding: [chunked] | 78 | Transfer-Encoding: [chunked] |
79 | Vary: ['Accept-Encoding, Origin'] | 79 | Vary: ['Accept-Encoding, Origin'] |
@@ -81,8 +81,8 @@ interactions: | |||
81 | X-Download-Options: [noopen] | 81 | X-Download-Options: [noopen] |
82 | X-Frame-Options: [SAMEORIGIN] | 82 | X-Frame-Options: [SAMEORIGIN] |
83 | X-Permitted-Cross-Domain-Policies: [none] | 83 | X-Permitted-Cross-Domain-Policies: [none] |
84 | X-Request-Id: [193fe503-6915-4717-add4-355f4985c7fa] | 84 | X-Request-Id: [bd78a915-f029-4986-b952-dabd4dda120c] |
85 | X-Runtime: ['0.234446'] | 85 | X-Runtime: ['0.063270'] |
86 | X-XSS-Protection: [1; mode=block] | 86 | X-XSS-Protection: [1; mode=block] |
87 | content-length: ['174'] | 87 | content-length: ['174'] |
88 | status: {code: 200, message: OK} | 88 | status: {code: 200, message: OK} |
@@ -95,15 +95,15 @@ interactions: | |||
95 | Connection: [keep-alive] | 95 | Connection: [keep-alive] |
96 | Content-Length: ['19'] | 96 | Content-Length: ['19'] |
97 | Content-Type: [application/x-www-form-urlencoded] | 97 | Content-Type: [application/x-www-form-urlencoded] |
98 | User-Agent: [python-requests/2.9.1] | 98 | User-Agent: [python-requests/2.18.4] |
99 | method: POST | 99 | method: POST |
100 | uri: http://localhost:3000/api/v1/lists/3/accounts | 100 | uri: http://localhost:3000/api/v1/lists/8/accounts |
101 | response: | 101 | response: |
102 | body: {string: '{}'} | 102 | body: {string: '{}'} |
103 | headers: | 103 | headers: |
104 | Cache-Control: ['max-age=0, private, must-revalidate'] | 104 | Cache-Control: ['max-age=0, private, must-revalidate'] |
105 | Content-Type: [application/json; charset=utf-8] | 105 | Content-Type: [application/json; charset=utf-8] |
106 | ETag: [W/"be789cced1cf6f3b9b169fcd8f78983a"] | 106 | ETag: [W/"bf92612b432ba5b51a56b55e4c0b9817"] |
107 | Referrer-Policy: [strict-origin-when-cross-origin] | 107 | Referrer-Policy: [strict-origin-when-cross-origin] |
108 | Transfer-Encoding: [chunked] | 108 | Transfer-Encoding: [chunked] |
109 | Vary: ['Accept-Encoding, Origin'] | 109 | Vary: ['Accept-Encoding, Origin'] |
@@ -111,8 +111,8 @@ interactions: | |||
111 | X-Download-Options: [noopen] | 111 | X-Download-Options: [noopen] |
112 | X-Frame-Options: [SAMEORIGIN] | 112 | X-Frame-Options: [SAMEORIGIN] |
113 | X-Permitted-Cross-Domain-Policies: [none] | 113 | X-Permitted-Cross-Domain-Policies: [none] |
114 | X-Request-Id: [0ff8ad28-45bc-47f9-9ce7-28e255b6381d] | 114 | X-Request-Id: [f89cdcb6-0bd2-434f-83b1-5a285359bc30] |
115 | X-Runtime: ['0.195713'] | 115 | X-Runtime: ['0.047258'] |
116 | X-XSS-Protection: [1; mode=block] | 116 | X-XSS-Protection: [1; mode=block] |
117 | content-length: ['2'] | 117 | content-length: ['2'] |
118 | status: {code: 200, message: OK} | 118 | status: {code: 200, message: OK} |
@@ -123,16 +123,16 @@ interactions: | |||
123 | Accept-Encoding: ['gzip, deflate'] | 123 | Accept-Encoding: ['gzip, deflate'] |
124 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 124 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
125 | Connection: [keep-alive] | 125 | Connection: [keep-alive] |
126 | User-Agent: [python-requests/2.9.1] | 126 | User-Agent: [python-requests/2.18.4] |
127 | method: GET | 127 | method: GET |
128 | uri: http://localhost:3000/api/v1/lists/3/accounts | 128 | uri: http://localhost:3000/api/v1/lists/8/accounts |
129 | response: | 129 | response: |
130 | body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","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":0,"emojis":[],"fields":[]}]'} | 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 | headers: | 131 | headers: |
132 | Cache-Control: ['max-age=0, private, must-revalidate'] | 132 | Cache-Control: ['max-age=0, private, must-revalidate'] |
133 | Content-Type: [application/json; charset=utf-8] | 133 | Content-Type: [application/json; charset=utf-8] |
134 | ETag: [W/"07551ac8055da6dd5d355f8aad21fc4c"] | 134 | ETag: [W/"a474745c1f57a6da8e80efa488b51726"] |
135 | Link: ['<http://localhost:3000/api/v1/lists/3/accounts?since_id=1>; rel="prev"'] | 135 | Link: ['<http://localhost:3000/api/v1/lists/8/accounts?since_id=1>; rel="prev"'] |
136 | Referrer-Policy: [strict-origin-when-cross-origin] | 136 | Referrer-Policy: [strict-origin-when-cross-origin] |
137 | Transfer-Encoding: [chunked] | 137 | Transfer-Encoding: [chunked] |
138 | Vary: ['Accept-Encoding, Origin'] | 138 | Vary: ['Accept-Encoding, Origin'] |
@@ -140,8 +140,8 @@ interactions: | |||
140 | X-Download-Options: [noopen] | 140 | X-Download-Options: [noopen] |
141 | X-Frame-Options: [SAMEORIGIN] | 141 | X-Frame-Options: [SAMEORIGIN] |
142 | X-Permitted-Cross-Domain-Policies: [none] | 142 | X-Permitted-Cross-Domain-Policies: [none] |
143 | X-Request-Id: [42f84919-12f9-4e03-8d35-ec6eb725034a] | 143 | X-Request-Id: [a5f30350-5070-4d6b-bf1f-b8a320da9f2a] |
144 | X-Runtime: ['0.078360'] | 144 | X-Runtime: ['0.018499'] |
145 | X-XSS-Protection: [1; mode=block] | 145 | X-XSS-Protection: [1; mode=block] |
146 | content-length: ['550'] | 146 | content-length: ['550'] |
147 | status: {code: 200, message: OK} | 147 | status: {code: 200, message: OK} |
@@ -153,7 +153,7 @@ interactions: | |||
153 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 153 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
154 | Connection: [keep-alive] | 154 | Connection: [keep-alive] |
155 | Content-Length: ['0'] | 155 | Content-Length: ['0'] |
156 | User-Agent: [python-requests/2.9.1] | 156 | User-Agent: [python-requests/2.18.4] |
157 | method: POST | 157 | method: POST |
158 | uri: http://localhost:3000/api/v1/accounts/1/unfollow | 158 | uri: http://localhost:3000/api/v1/accounts/1/unfollow |
159 | response: | 159 | response: |
@@ -161,7 +161,7 @@ interactions: | |||
161 | headers: | 161 | headers: |
162 | Cache-Control: ['max-age=0, private, must-revalidate'] | 162 | Cache-Control: ['max-age=0, private, must-revalidate'] |
163 | Content-Type: [application/json; charset=utf-8] | 163 | Content-Type: [application/json; charset=utf-8] |
164 | ETag: [W/"ecba6a18a8cb8442f0079a10ff3fbbf0"] | 164 | ETag: [W/"8afbf44289c39f499be3ca55837eced5"] |
165 | Referrer-Policy: [strict-origin-when-cross-origin] | 165 | Referrer-Policy: [strict-origin-when-cross-origin] |
166 | Transfer-Encoding: [chunked] | 166 | Transfer-Encoding: [chunked] |
167 | Vary: ['Accept-Encoding, Origin'] | 167 | Vary: ['Accept-Encoding, Origin'] |
@@ -169,8 +169,8 @@ interactions: | |||
169 | X-Download-Options: [noopen] | 169 | X-Download-Options: [noopen] |
170 | X-Frame-Options: [SAMEORIGIN] | 170 | X-Frame-Options: [SAMEORIGIN] |
171 | X-Permitted-Cross-Domain-Policies: [none] | 171 | X-Permitted-Cross-Domain-Policies: [none] |
172 | X-Request-Id: [5bd3f41f-72f1-4528-87fb-c1a84d488d3a] | 172 | X-Request-Id: [0f7ff949-22cd-4d68-92cc-90c7ee5c8dd8] |
173 | X-Runtime: ['0.140527'] | 173 | X-Runtime: ['0.049951'] |
174 | X-XSS-Protection: [1; mode=block] | 174 | X-XSS-Protection: [1; mode=block] |
175 | content-length: ['175'] | 175 | content-length: ['175'] |
176 | status: {code: 200, message: OK} | 176 | status: {code: 200, message: OK} |
@@ -181,15 +181,15 @@ interactions: | |||
181 | Accept-Encoding: ['gzip, deflate'] | 181 | Accept-Encoding: ['gzip, deflate'] |
182 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 182 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
183 | Connection: [keep-alive] | 183 | Connection: [keep-alive] |
184 | User-Agent: [python-requests/2.9.1] | 184 | User-Agent: [python-requests/2.18.4] |
185 | method: GET | 185 | method: GET |
186 | uri: http://localhost:3000/api/v1/lists/3/accounts | 186 | uri: http://localhost:3000/api/v1/lists/8/accounts |
187 | response: | 187 | response: |
188 | body: {string: '[]'} | 188 | body: {string: '[]'} |
189 | headers: | 189 | headers: |
190 | Cache-Control: ['max-age=0, private, must-revalidate'] | 190 | Cache-Control: ['max-age=0, private, must-revalidate'] |
191 | Content-Type: [application/json; charset=utf-8] | 191 | Content-Type: [application/json; charset=utf-8] |
192 | ETag: [W/"066c06a3289a5697d51f5e8a39d6c906"] | 192 | ETag: [W/"d77e610161dd1bed88178cffc05bb02a"] |
193 | Referrer-Policy: [strict-origin-when-cross-origin] | 193 | Referrer-Policy: [strict-origin-when-cross-origin] |
194 | Transfer-Encoding: [chunked] | 194 | Transfer-Encoding: [chunked] |
195 | Vary: ['Accept-Encoding, Origin'] | 195 | Vary: ['Accept-Encoding, Origin'] |
@@ -197,8 +197,8 @@ interactions: | |||
197 | X-Download-Options: [noopen] | 197 | X-Download-Options: [noopen] |
198 | X-Frame-Options: [SAMEORIGIN] | 198 | X-Frame-Options: [SAMEORIGIN] |
199 | X-Permitted-Cross-Domain-Policies: [none] | 199 | X-Permitted-Cross-Domain-Policies: [none] |
200 | X-Request-Id: [a973e6dd-fa10-4d3e-b204-0f474621472e] | 200 | X-Request-Id: [627eb941-8858-4548-9da8-a138a77ad8dc] |
201 | X-Runtime: ['0.055322'] | 201 | X-Runtime: ['0.023576'] |
202 | X-XSS-Protection: [1; mode=block] | 202 | X-XSS-Protection: [1; mode=block] |
203 | content-length: ['2'] | 203 | content-length: ['2'] |
204 | status: {code: 200, message: OK} | 204 | status: {code: 200, message: OK} |
@@ -210,7 +210,7 @@ interactions: | |||
210 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 210 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
211 | Connection: [keep-alive] | 211 | Connection: [keep-alive] |
212 | Content-Length: ['0'] | 212 | Content-Length: ['0'] |
213 | User-Agent: [python-requests/2.9.1] | 213 | User-Agent: [python-requests/2.18.4] |
214 | method: POST | 214 | method: POST |
215 | uri: http://localhost:3000/api/v1/accounts/1/follow | 215 | uri: http://localhost:3000/api/v1/accounts/1/follow |
216 | response: | 216 | response: |
@@ -218,7 +218,7 @@ interactions: | |||
218 | headers: | 218 | headers: |
219 | Cache-Control: ['max-age=0, private, must-revalidate'] | 219 | Cache-Control: ['max-age=0, private, must-revalidate'] |
220 | Content-Type: [application/json; charset=utf-8] | 220 | Content-Type: [application/json; charset=utf-8] |
221 | ETag: [W/"5b25f6a87748efb778aab093f8a05626"] | 221 | ETag: [W/"6de77dd5834bb5fc499eed9cda4081de"] |
222 | Referrer-Policy: [strict-origin-when-cross-origin] | 222 | Referrer-Policy: [strict-origin-when-cross-origin] |
223 | Transfer-Encoding: [chunked] | 223 | Transfer-Encoding: [chunked] |
224 | Vary: ['Accept-Encoding, Origin'] | 224 | Vary: ['Accept-Encoding, Origin'] |
@@ -226,8 +226,8 @@ interactions: | |||
226 | X-Download-Options: [noopen] | 226 | X-Download-Options: [noopen] |
227 | X-Frame-Options: [SAMEORIGIN] | 227 | X-Frame-Options: [SAMEORIGIN] |
228 | X-Permitted-Cross-Domain-Policies: [none] | 228 | X-Permitted-Cross-Domain-Policies: [none] |
229 | X-Request-Id: [a06e8b28-8724-451e-8378-715eb7d98d72] | 229 | X-Request-Id: [0d1ce293-50c1-4294-b91e-a76cf5454494] |
230 | X-Runtime: ['0.210418'] | 230 | X-Runtime: ['0.071417'] |
231 | X-XSS-Protection: [1; mode=block] | 231 | X-XSS-Protection: [1; mode=block] |
232 | content-length: ['174'] | 232 | content-length: ['174'] |
233 | status: {code: 200, message: OK} | 233 | status: {code: 200, message: OK} |
@@ -240,15 +240,15 @@ interactions: | |||
240 | Connection: [keep-alive] | 240 | Connection: [keep-alive] |
241 | Content-Length: ['19'] | 241 | Content-Length: ['19'] |
242 | Content-Type: [application/x-www-form-urlencoded] | 242 | Content-Type: [application/x-www-form-urlencoded] |
243 | User-Agent: [python-requests/2.9.1] | 243 | User-Agent: [python-requests/2.18.4] |
244 | method: POST | 244 | method: POST |
245 | uri: http://localhost:3000/api/v1/lists/3/accounts | 245 | uri: http://localhost:3000/api/v1/lists/8/accounts |
246 | response: | 246 | response: |
247 | body: {string: '{}'} | 247 | body: {string: '{}'} |
248 | headers: | 248 | headers: |
249 | Cache-Control: ['max-age=0, private, must-revalidate'] | 249 | Cache-Control: ['max-age=0, private, must-revalidate'] |
250 | Content-Type: [application/json; charset=utf-8] | 250 | Content-Type: [application/json; charset=utf-8] |
251 | ETag: [W/"be789cced1cf6f3b9b169fcd8f78983a"] | 251 | ETag: [W/"bf92612b432ba5b51a56b55e4c0b9817"] |
252 | Referrer-Policy: [strict-origin-when-cross-origin] | 252 | Referrer-Policy: [strict-origin-when-cross-origin] |
253 | Transfer-Encoding: [chunked] | 253 | Transfer-Encoding: [chunked] |
254 | Vary: ['Accept-Encoding, Origin'] | 254 | Vary: ['Accept-Encoding, Origin'] |
@@ -256,8 +256,8 @@ interactions: | |||
256 | X-Download-Options: [noopen] | 256 | X-Download-Options: [noopen] |
257 | X-Frame-Options: [SAMEORIGIN] | 257 | X-Frame-Options: [SAMEORIGIN] |
258 | X-Permitted-Cross-Domain-Policies: [none] | 258 | X-Permitted-Cross-Domain-Policies: [none] |
259 | X-Request-Id: [6a6fe4f4-f15b-4d37-849c-e28cf491e81f] | 259 | X-Request-Id: [b8a42547-99e2-402b-8745-2f7c132dcca0] |
260 | X-Runtime: ['0.090445'] | 260 | X-Runtime: ['0.041756'] |
261 | X-XSS-Protection: [1; mode=block] | 261 | X-XSS-Protection: [1; mode=block] |
262 | content-length: ['2'] | 262 | content-length: ['2'] |
263 | status: {code: 200, message: OK} | 263 | status: {code: 200, message: OK} |
@@ -268,16 +268,16 @@ interactions: | |||
268 | Accept-Encoding: ['gzip, deflate'] | 268 | Accept-Encoding: ['gzip, deflate'] |
269 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 269 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
270 | Connection: [keep-alive] | 270 | Connection: [keep-alive] |
271 | User-Agent: [python-requests/2.9.1] | 271 | User-Agent: [python-requests/2.18.4] |
272 | method: GET | 272 | method: GET |
273 | uri: http://localhost:3000/api/v1/lists/3/accounts | 273 | uri: http://localhost:3000/api/v1/lists/8/accounts |
274 | response: | 274 | response: |
275 | body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","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":0,"emojis":[],"fields":[]}]'} | 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":[]}]'} |
276 | headers: | 276 | headers: |
277 | Cache-Control: ['max-age=0, private, must-revalidate'] | 277 | Cache-Control: ['max-age=0, private, must-revalidate'] |
278 | Content-Type: [application/json; charset=utf-8] | 278 | Content-Type: [application/json; charset=utf-8] |
279 | ETag: [W/"07551ac8055da6dd5d355f8aad21fc4c"] | 279 | ETag: [W/"a474745c1f57a6da8e80efa488b51726"] |
280 | Link: ['<http://localhost:3000/api/v1/lists/3/accounts?since_id=1>; rel="prev"'] | 280 | Link: ['<http://localhost:3000/api/v1/lists/8/accounts?since_id=1>; rel="prev"'] |
281 | Referrer-Policy: [strict-origin-when-cross-origin] | 281 | Referrer-Policy: [strict-origin-when-cross-origin] |
282 | Transfer-Encoding: [chunked] | 282 | Transfer-Encoding: [chunked] |
283 | Vary: ['Accept-Encoding, Origin'] | 283 | Vary: ['Accept-Encoding, Origin'] |
@@ -285,8 +285,8 @@ interactions: | |||
285 | X-Download-Options: [noopen] | 285 | X-Download-Options: [noopen] |
286 | X-Frame-Options: [SAMEORIGIN] | 286 | X-Frame-Options: [SAMEORIGIN] |
287 | X-Permitted-Cross-Domain-Policies: [none] | 287 | X-Permitted-Cross-Domain-Policies: [none] |
288 | X-Request-Id: [798c8097-973a-4131-bf67-d5c9eaead3ce] | 288 | X-Request-Id: [0f5df72d-97aa-4eea-8049-aa6c9bcb819d] |
289 | X-Runtime: ['0.097808'] | 289 | X-Runtime: ['0.017421'] |
290 | X-XSS-Protection: [1; mode=block] | 290 | X-XSS-Protection: [1; mode=block] |
291 | content-length: ['550'] | 291 | content-length: ['550'] |
292 | status: {code: 200, message: OK} | 292 | status: {code: 200, message: OK} |
@@ -299,15 +299,15 @@ interactions: | |||
299 | Connection: [keep-alive] | 299 | Connection: [keep-alive] |
300 | Content-Length: ['19'] | 300 | Content-Length: ['19'] |
301 | Content-Type: [application/x-www-form-urlencoded] | 301 | Content-Type: [application/x-www-form-urlencoded] |
302 | User-Agent: [python-requests/2.9.1] | 302 | User-Agent: [python-requests/2.18.4] |
303 | method: DELETE | 303 | method: DELETE |
304 | uri: http://localhost:3000/api/v1/lists/3/accounts | 304 | uri: http://localhost:3000/api/v1/lists/8/accounts |
305 | response: | 305 | response: |
306 | body: {string: '{}'} | 306 | body: {string: '{}'} |
307 | headers: | 307 | headers: |
308 | Cache-Control: ['max-age=0, private, must-revalidate'] | 308 | Cache-Control: ['max-age=0, private, must-revalidate'] |
309 | Content-Type: [application/json; charset=utf-8] | 309 | Content-Type: [application/json; charset=utf-8] |
310 | ETag: [W/"be789cced1cf6f3b9b169fcd8f78983a"] | 310 | ETag: [W/"bf92612b432ba5b51a56b55e4c0b9817"] |
311 | Referrer-Policy: [strict-origin-when-cross-origin] | 311 | Referrer-Policy: [strict-origin-when-cross-origin] |
312 | Transfer-Encoding: [chunked] | 312 | Transfer-Encoding: [chunked] |
313 | Vary: ['Accept-Encoding, Origin'] | 313 | Vary: ['Accept-Encoding, Origin'] |
@@ -315,8 +315,8 @@ interactions: | |||
315 | X-Download-Options: [noopen] | 315 | X-Download-Options: [noopen] |
316 | X-Frame-Options: [SAMEORIGIN] | 316 | X-Frame-Options: [SAMEORIGIN] |
317 | X-Permitted-Cross-Domain-Policies: [none] | 317 | X-Permitted-Cross-Domain-Policies: [none] |
318 | X-Request-Id: [c5da21cf-6663-4ab7-bb1a-6682696fecaf] | 318 | X-Request-Id: [82e03414-ef8d-413f-8805-4bc9b49aef92] |
319 | X-Runtime: ['0.116511'] | 319 | X-Runtime: ['0.024025'] |
320 | X-XSS-Protection: [1; mode=block] | 320 | X-XSS-Protection: [1; mode=block] |
321 | content-length: ['2'] | 321 | content-length: ['2'] |
322 | status: {code: 200, message: OK} | 322 | status: {code: 200, message: OK} |
@@ -327,15 +327,15 @@ interactions: | |||
327 | Accept-Encoding: ['gzip, deflate'] | 327 | Accept-Encoding: ['gzip, deflate'] |
328 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 328 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
329 | Connection: [keep-alive] | 329 | Connection: [keep-alive] |
330 | User-Agent: [python-requests/2.9.1] | 330 | User-Agent: [python-requests/2.18.4] |
331 | method: GET | 331 | method: GET |
332 | uri: http://localhost:3000/api/v1/lists/3/accounts | 332 | uri: http://localhost:3000/api/v1/lists/8/accounts |
333 | response: | 333 | response: |
334 | body: {string: '[]'} | 334 | body: {string: '[]'} |
335 | headers: | 335 | headers: |
336 | Cache-Control: ['max-age=0, private, must-revalidate'] | 336 | Cache-Control: ['max-age=0, private, must-revalidate'] |
337 | Content-Type: [application/json; charset=utf-8] | 337 | Content-Type: [application/json; charset=utf-8] |
338 | ETag: [W/"ec7d48a48a179065469d220bf9c93b19"] | 338 | ETag: [W/"d77e610161dd1bed88178cffc05bb02a"] |
339 | Referrer-Policy: [strict-origin-when-cross-origin] | 339 | Referrer-Policy: [strict-origin-when-cross-origin] |
340 | Transfer-Encoding: [chunked] | 340 | Transfer-Encoding: [chunked] |
341 | Vary: ['Accept-Encoding, Origin'] | 341 | Vary: ['Accept-Encoding, Origin'] |
@@ -343,8 +343,8 @@ interactions: | |||
343 | X-Download-Options: [noopen] | 343 | X-Download-Options: [noopen] |
344 | X-Frame-Options: [SAMEORIGIN] | 344 | X-Frame-Options: [SAMEORIGIN] |
345 | X-Permitted-Cross-Domain-Policies: [none] | 345 | X-Permitted-Cross-Domain-Policies: [none] |
346 | X-Request-Id: [329c21b7-d696-4be7-9b01-444ef0a4218e] | 346 | X-Request-Id: [bdc94f0f-6992-4c10-8b52-cdc10e876de9] |
347 | X-Runtime: ['0.090281'] | 347 | X-Runtime: ['0.021202'] |
348 | X-XSS-Protection: [1; mode=block] | 348 | X-XSS-Protection: [1; mode=block] |
349 | content-length: ['2'] | 349 | content-length: ['2'] |
350 | status: {code: 200, message: OK} | 350 | status: {code: 200, message: OK} |
@@ -356,7 +356,7 @@ interactions: | |||
356 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 356 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
357 | Connection: [keep-alive] | 357 | Connection: [keep-alive] |
358 | Content-Length: ['0'] | 358 | Content-Length: ['0'] |
359 | User-Agent: [python-requests/2.9.1] | 359 | User-Agent: [python-requests/2.18.4] |
360 | method: POST | 360 | method: POST |
361 | uri: http://localhost:3000/api/v1/accounts/1/unfollow | 361 | uri: http://localhost:3000/api/v1/accounts/1/unfollow |
362 | response: | 362 | response: |
@@ -364,7 +364,7 @@ interactions: | |||
364 | headers: | 364 | headers: |
365 | Cache-Control: ['max-age=0, private, must-revalidate'] | 365 | Cache-Control: ['max-age=0, private, must-revalidate'] |
366 | Content-Type: [application/json; charset=utf-8] | 366 | Content-Type: [application/json; charset=utf-8] |
367 | ETag: [W/"a568ec71044d7f152116322ab4a1a571"] | 367 | ETag: [W/"8afbf44289c39f499be3ca55837eced5"] |
368 | Referrer-Policy: [strict-origin-when-cross-origin] | 368 | Referrer-Policy: [strict-origin-when-cross-origin] |
369 | Transfer-Encoding: [chunked] | 369 | Transfer-Encoding: [chunked] |
370 | Vary: ['Accept-Encoding, Origin'] | 370 | Vary: ['Accept-Encoding, Origin'] |
@@ -372,8 +372,8 @@ interactions: | |||
372 | X-Download-Options: [noopen] | 372 | X-Download-Options: [noopen] |
373 | X-Frame-Options: [SAMEORIGIN] | 373 | X-Frame-Options: [SAMEORIGIN] |
374 | X-Permitted-Cross-Domain-Policies: [none] | 374 | X-Permitted-Cross-Domain-Policies: [none] |
375 | X-Request-Id: [6ad7fefb-a2d7-4c30-991c-a158a714cbe9] | 375 | X-Request-Id: [5d35fd25-ad27-4d3c-8188-fce3458621f1] |
376 | X-Runtime: ['0.146337'] | 376 | X-Runtime: ['0.044831'] |
377 | X-XSS-Protection: [1; mode=block] | 377 | X-XSS-Protection: [1; mode=block] |
378 | content-length: ['175'] | 378 | content-length: ['175'] |
379 | status: {code: 200, message: OK} | 379 | status: {code: 200, message: OK} |
@@ -385,15 +385,15 @@ interactions: | |||
385 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] | 385 | Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] |
386 | Connection: [keep-alive] | 386 | Connection: [keep-alive] |
387 | Content-Length: ['0'] | 387 | Content-Length: ['0'] |
388 | User-Agent: [python-requests/2.9.1] | 388 | User-Agent: [python-requests/2.18.4] |
389 | method: DELETE | 389 | method: DELETE |
390 | uri: http://localhost:3000/api/v1/lists/3 | 390 | uri: http://localhost:3000/api/v1/lists/8 |
391 | response: | 391 | response: |
392 | body: {string: '{}'} | 392 | body: {string: '{}'} |
393 | headers: | 393 | headers: |
394 | Cache-Control: ['max-age=0, private, must-revalidate'] | 394 | Cache-Control: ['max-age=0, private, must-revalidate'] |
395 | Content-Type: [application/json; charset=utf-8] | 395 | Content-Type: [application/json; charset=utf-8] |
396 | ETag: [W/"1bcae3c8085c32f992827719e2ff0cdf"] | 396 | ETag: [W/"bf92612b432ba5b51a56b55e4c0b9817"] |
397 | Referrer-Policy: [strict-origin-when-cross-origin] | 397 | Referrer-Policy: [strict-origin-when-cross-origin] |
398 | Transfer-Encoding: [chunked] | 398 | Transfer-Encoding: [chunked] |
399 | Vary: ['Accept-Encoding, Origin'] | 399 | Vary: ['Accept-Encoding, Origin'] |
@@ -401,8 +401,8 @@ interactions: | |||
401 | X-Download-Options: [noopen] | 401 | X-Download-Options: [noopen] |
402 | X-Frame-Options: [SAMEORIGIN] | 402 | X-Frame-Options: [SAMEORIGIN] |
403 | X-Permitted-Cross-Domain-Policies: [none] | 403 | X-Permitted-Cross-Domain-Policies: [none] |
404 | X-Request-Id: [1f5cc011-fa34-48a5-a8dd-598575d1d012] | 404 | X-Request-Id: [491e273f-5142-46a4-9718-23174c02ec15] |
405 | X-Runtime: ['0.083378'] | 405 | X-Runtime: ['0.021338'] |
406 | X-XSS-Protection: [1; mode=block] | 406 | X-XSS-Protection: [1; mode=block] |
407 | content-length: ['2'] | 407 | content-length: ['2'] |
408 | status: {code: 200, message: OK} | 408 | status: {code: 200, message: OK} |