aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2019-06-22 23:16:47 +0200
committerLorenz Diener <[email protected]>2019-06-22 23:16:47 +0200
commit225c8ca76a8fc6eb2a87a8156b7ce808d3b06507 (patch)
tree58a331db57609ca038d9428f27b064a4c1b32854 /tests/cassettes/test_list_timeline.yaml
parentf920f8b58429b5d7dea43442765df824ac04bf91 (diff)
downloadmastodon.py-225c8ca76a8fc6eb2a87a8156b7ce808d3b06507.tar.gz
Fresh batch of test runs
Diffstat (limited to 'tests/cassettes/test_list_timeline.yaml')
-rw-r--r--tests/cassettes/test_list_timeline.yaml74
1 files changed, 37 insertions, 37 deletions
diff --git a/tests/cassettes/test_list_timeline.yaml b/tests/cassettes/test_list_timeline.yaml
index 170bbf9..84015fe 100644
--- a/tests/cassettes/test_list_timeline.yaml
+++ b/tests/cassettes/test_list_timeline.yaml
@@ -12,7 +12,7 @@ interactions:
12 method: POST 12 method: POST
13 uri: http://localhost:3000/api/v1/lists 13 uri: http://localhost:3000/api/v1/lists
14 response: 14 response:
15 body: {string: '{"id":"5","title":"ham burglars"}'} 15 body: {string: '{"id":"25","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: [1f3c4bdc-37ce-4a2e-8f60-ce9becc78eed] 26 X-Request-Id: [ba48641d-cf50-4b83-8560-08981737cf88]
27 X-Runtime: ['0.024433'] 27 X-Runtime: ['0.021952']
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":0,"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":2,"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: [37bdac14-d813-43e4-8d2a-3248171052d9] 53 X-Request-Id: [78e34f89-3407-4a87-b9c3-abb13551f476]
54 X-Runtime: ['0.023376'] 54 X-Runtime: ['0.022950']
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: [6c6db11d-ae98-471c-8e0c-b2b6fcd4c349] 82 X-Request-Id: [c00a31f9-1a7b-4ed0-a1e0-28e5352a24f3]
83 X-Runtime: ['0.077111'] 83 X-Runtime: ['0.070776']
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/5/accounts 98 uri: http://localhost:3000/api/v1/lists/25/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: [8f64dda3-b754-44ec-9058-8a13fc7e4854] 111 X-Request-Id: [05f3227d-bb62-4807-b6f4-2546522abac6]
112 X-Runtime: ['0.039091'] 112 X-Runtime: ['0.075572']
113 X-XSS-Protection: [1; mode=block] 113 X-XSS-Protection: [1; mode=block]
114 content-length: ['2'] 114 content-length: ['2']
115 status: {code: 200, message: OK} 115 status: {code: 200, message: OK}
@@ -126,9 +126,9 @@ interactions:
126 method: POST 126 method: POST
127 uri: http://localhost:3000/api/v1/statuses 127 uri: http://localhost:3000/api/v1/statuses
128 response: 128 response:
129 body: {string: '{"id":"102315366232658666","created_at":"2019-06-22T13:03:11.207Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102315366232658666","url":"http://localhost/@admin/102315366232658666","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eI 129 body: {string: '{"id":"102317290726462285","created_at":"2019-06-22T21:12:36.659Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102317290726462285","url":"http://localhost/@admin/102317290726462285","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eI
130 have never stolen a ham in my life.\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py 130 have never stolen a ham in my life.\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
131 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} 131 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"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":17,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
132 headers: 132 headers:
133 Cache-Control: ['no-cache, no-store'] 133 Cache-Control: ['no-cache, no-store']
134 Content-Type: [application/json; charset=utf-8] 134 Content-Type: [application/json; charset=utf-8]
@@ -139,10 +139,10 @@ interactions:
139 X-Download-Options: [noopen] 139 X-Download-Options: [noopen]
140 X-Frame-Options: [SAMEORIGIN] 140 X-Frame-Options: [SAMEORIGIN]
141 X-Permitted-Cross-Domain-Policies: [none] 141 X-Permitted-Cross-Domain-Policies: [none]
142 X-Request-Id: [2655bbd0-c716-4150-84d6-8461a1de9176] 142 X-Request-Id: [6f69bb85-4635-4e9e-9a42-f26e4b683727]
143 X-Runtime: ['0.152767'] 143 X-Runtime: ['0.178400']
144 X-XSS-Protection: [1; mode=block] 144 X-XSS-Protection: [1; mode=block]
145 content-length: ['1203'] 145 content-length: ['1204']
146 status: {code: 200, message: OK} 146 status: {code: 200, message: OK}
147- request: 147- request:
148 body: null 148 body: null
@@ -153,16 +153,16 @@ interactions:
153 Connection: [keep-alive] 153 Connection: [keep-alive]
154 User-Agent: [python-requests/2.18.4] 154 User-Agent: [python-requests/2.18.4]
155 method: GET 155 method: GET
156 uri: http://localhost:3000/api/v1/timelines/list/5 156 uri: http://localhost:3000/api/v1/timelines/list/25
157 response: 157 response:
158 body: {string: '[{"id":"102315366232658666","created_at":"2019-06-22T13:03:11.207Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102315366232658666","url":"http://localhost/@admin/102315366232658666","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"\u003cp\u003eI 158 body: {string: '[{"id":"102317290726462285","created_at":"2019-06-22T21:12:36.659Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102317290726462285","url":"http://localhost/@admin/102317290726462285","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"\u003cp\u003eI
159 have never stolen a ham in my life.\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py 159 have never stolen a ham in my life.\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
160 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}]'} 160 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"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":17,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}]'}
161 headers: 161 headers:
162 Cache-Control: ['no-cache, no-store'] 162 Cache-Control: ['no-cache, no-store']
163 Content-Type: [application/json; charset=utf-8] 163 Content-Type: [application/json; charset=utf-8]
164 Link: ['<http://localhost:3000/api/v1/timelines/list/5?max_id=102315366232658666>; 164 Link: ['<http://localhost:3000/api/v1/timelines/list/25?max_id=102317290726462285>;
165 rel="next", <http://localhost:3000/api/v1/timelines/list/5?min_id=102315366232658666>; 165 rel="next", <http://localhost:3000/api/v1/timelines/list/25?min_id=102317290726462285>;
166 rel="prev"'] 166 rel="prev"']
167 Referrer-Policy: [strict-origin-when-cross-origin] 167 Referrer-Policy: [strict-origin-when-cross-origin]
168 Transfer-Encoding: [chunked] 168 Transfer-Encoding: [chunked]
@@ -171,10 +171,10 @@ interactions:
171 X-Download-Options: [noopen] 171 X-Download-Options: [noopen]
172 X-Frame-Options: [SAMEORIGIN] 172 X-Frame-Options: [SAMEORIGIN]
173 X-Permitted-Cross-Domain-Policies: [none] 173 X-Permitted-Cross-Domain-Policies: [none]
174 X-Request-Id: [0acf6672-99b8-459e-a81d-26cddae81c5c] 174 X-Request-Id: [65f03835-bd09-49c8-9a7c-7e912e4ddbe2]
175 X-Runtime: ['0.053111'] 175 X-Runtime: ['0.062445']
176 X-XSS-Protection: [1; mode=block] 176 X-XSS-Protection: [1; mode=block]
177 content-length: ['1190'] 177 content-length: ['1191']
178 status: {code: 200, message: OK} 178 status: {code: 200, message: OK}
179- request: 179- request:
180 body: null 180 body: null
@@ -186,11 +186,11 @@ interactions:
186 Content-Length: ['0'] 186 Content-Length: ['0']
187 User-Agent: [python-requests/2.18.4] 187 User-Agent: [python-requests/2.18.4]
188 method: DELETE 188 method: DELETE
189 uri: http://localhost:3000/api/v1/statuses/102315366232658666 189 uri: http://localhost:3000/api/v1/statuses/102317290726462285
190 response: 190 response:
191 body: {string: '{"id":"102315366232658666","created_at":"2019-06-22T13:03:11.207Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102315366232658666","url":"http://localhost/@admin/102315366232658666","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"I 191 body: {string: '{"id":"102317290726462285","created_at":"2019-06-22T21:12:36.659Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102317290726462285","url":"http://localhost/@admin/102317290726462285","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"I
192 have never stolen a ham in my life.","reblog":null,"application":{"name":"Mastodon.py 192 have never stolen a ham in my life.","reblog":null,"application":{"name":"Mastodon.py
193 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":1,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'} 193 test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"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":17,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
194 headers: 194 headers:
195 Cache-Control: ['no-cache, no-store'] 195 Cache-Control: ['no-cache, no-store']
196 Content-Type: [application/json; charset=utf-8] 196 Content-Type: [application/json; charset=utf-8]
@@ -201,10 +201,10 @@ interactions:
201 X-Download-Options: [noopen] 201 X-Download-Options: [noopen]
202 X-Frame-Options: [SAMEORIGIN] 202 X-Frame-Options: [SAMEORIGIN]
203 X-Permitted-Cross-Domain-Policies: [none] 203 X-Permitted-Cross-Domain-Policies: [none]
204 X-Request-Id: [9c665524-0c17-4e3e-89ec-5218b7823af3] 204 X-Request-Id: [e62f4641-cdda-490b-9966-df6bb8127144]
205 X-Runtime: ['0.073855'] 205 X-Runtime: ['0.079065']
206 X-XSS-Protection: [1; mode=block] 206 X-XSS-Protection: [1; mode=block]
207 content-length: ['1173'] 207 content-length: ['1174']
208 status: {code: 200, message: OK} 208 status: {code: 200, message: OK}
209- request: 209- request:
210 body: null 210 body: null
@@ -229,8 +229,8 @@ interactions:
229 X-Download-Options: [noopen] 229 X-Download-Options: [noopen]
230 X-Frame-Options: [SAMEORIGIN] 230 X-Frame-Options: [SAMEORIGIN]
231 X-Permitted-Cross-Domain-Policies: [none] 231 X-Permitted-Cross-Domain-Policies: [none]
232 X-Request-Id: [3be70ec4-f044-42f0-90a2-c438dfc66e82] 232 X-Request-Id: [85c8a500-8c01-4053-9782-cd28a56d23d5]
233 X-Runtime: ['0.073023'] 233 X-Runtime: ['0.088744']
234 X-XSS-Protection: [1; mode=block] 234 X-XSS-Protection: [1; mode=block]
235 content-length: ['211'] 235 content-length: ['211']
236 status: {code: 200, message: OK} 236 status: {code: 200, message: OK}
@@ -244,7 +244,7 @@ interactions:
244 Content-Length: ['0'] 244 Content-Length: ['0']
245 User-Agent: [python-requests/2.18.4] 245 User-Agent: [python-requests/2.18.4]
246 method: DELETE 246 method: DELETE
247 uri: http://localhost:3000/api/v1/lists/5 247 uri: http://localhost:3000/api/v1/lists/25
248 response: 248 response:
249 body: {string: '{}'} 249 body: {string: '{}'}
250 headers: 250 headers:
@@ -257,8 +257,8 @@ interactions:
257 X-Download-Options: [noopen] 257 X-Download-Options: [noopen]
258 X-Frame-Options: [SAMEORIGIN] 258 X-Frame-Options: [SAMEORIGIN]
259 X-Permitted-Cross-Domain-Policies: [none] 259 X-Permitted-Cross-Domain-Policies: [none]
260 X-Request-Id: [21f34ce5-d202-4c38-952f-1e2079860b51] 260 X-Request-Id: [0004f8b3-73e1-444f-8aff-cc2d20798dca]
261 X-Runtime: ['0.043072'] 261 X-Runtime: ['0.021890']
262 X-XSS-Protection: [1; mode=block] 262 X-XSS-Protection: [1; mode=block]
263 content-length: ['2'] 263 content-length: ['2']
264 status: {code: 200, message: OK} 264 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)