From 65b1f41e65d5f20136de0bd01f154ecf4134eaf8 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 14 Jul 2018 01:07:26 +0200 Subject: Rerun all tests --- tests/cassettes/test_list_timeline.yaml | 104 ++++++++++++++++---------------- 1 file changed, 52 insertions(+), 52 deletions(-) (limited to 'tests/cassettes/test_list_timeline.yaml') diff --git a/tests/cassettes/test_list_timeline.yaml b/tests/cassettes/test_list_timeline.yaml index a6f0e6d..06aa961 100644 --- a/tests/cassettes/test_list_timeline.yaml +++ b/tests/cassettes/test_list_timeline.yaml @@ -8,15 +8,15 @@ interactions: Connection: [keep-alive] Content-Length: ['18'] Content-Type: [application/x-www-form-urlencoded] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: POST uri: http://localhost:3000/api/v1/lists response: - body: {string: '{"id":"6","title":"ham burglars"}'} + body: {string: '{"id":"10","title":"ham burglars"}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"0c2717f6c1c5d08386e10b6562765e85"] + ETag: [W/"14287cb42ec1ab07b6aa44c5f19b5c1d"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -24,10 +24,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [6721d2c1-4840-400d-9e45-27e997edce3d] - X-Runtime: ['0.033269'] + X-Request-Id: [824c6ec5-88ea-4469-aa5b-f9f20a9c6550] + X-Runtime: ['0.020458'] X-XSS-Protection: [1; mode=block] - content-length: ['33'] + content-length: ['34'] status: {code: 200, message: OK} - request: body: null @@ -36,15 +36,15 @@ interactions: Accept-Encoding: ['gzip, deflate'] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] Connection: [keep-alive] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: GET uri: http://localhost:3000/api/v1/accounts/verify_credentials response: - 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":3,"source":{"privacy":"public","sensitive":false,"note":"","fields":[]},"emojis":[],"fields":[]}'} + 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":[]}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"87c03ce4263ff02da2e95eca7d943bc2"] + ETag: [W/"e8cc773e17c063bb46d8192abb677e46"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -52,10 +52,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [83a6c552-7144-4ac6-86f9-53f1fe1b1749] - X-Runtime: ['0.071956'] + X-Request-Id: [f4bf71a3-0740-4afc-b4d8-3ac675cc1d26] + X-Runtime: ['0.018511'] X-XSS-Protection: [1; mode=block] - content-length: ['618'] + content-length: ['634'] status: {code: 200, message: OK} - request: body: null @@ -65,7 +65,7 @@ interactions: Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: POST uri: http://localhost:3000/api/v1/accounts/1/follow response: @@ -73,7 +73,7 @@ interactions: headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"8e7abca73c946d9bbd2a464713e20ff0"] + ETag: [W/"d0a82968c8f9aeedda238946aae1989a"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -81,8 +81,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [4fda44f4-a609-489c-8311-ad88c48abfed] - X-Runtime: ['0.069386'] + X-Request-Id: [e40ee840-b7fe-4dbb-85ec-a184f5064c43] + X-Runtime: ['0.084309'] X-XSS-Protection: [1; mode=block] content-length: ['174'] status: {code: 200, message: OK} @@ -95,15 +95,15 @@ interactions: Connection: [keep-alive] Content-Length: ['19'] Content-Type: [application/x-www-form-urlencoded] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: POST - uri: http://localhost:3000/api/v1/lists/6/accounts + uri: http://localhost:3000/api/v1/lists/10/accounts response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"e9860857695aa0d9d73a4ecdbab94309"] + ETag: [W/"f39c5a269dd640bacf5a55db8d2d3e90"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -111,8 +111,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [e2d623a9-689a-4c61-b652-e8e578d7b51d] - X-Runtime: ['0.051432'] + X-Request-Id: [a6d6eb3d-c6af-4f7f-b2d7-21635c1d3971] + X-Runtime: ['0.040148'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -125,17 +125,17 @@ interactions: Connection: [keep-alive] Content-Length: ['62'] Content-Type: [application/x-www-form-urlencoded] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: POST uri: http://localhost:3000/api/v1/statuses response: - body: {string: '{"id":"100154030964539690","created_at":"2018-06-05T20:07:12.265Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/100154030964539690","content":"\u003cp\u003eI - have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/100154030964539690","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py - test suite","website":null},"account":{"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":4,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} + body: {string: '{"id":"100369507189110184","created_at":"2018-07-13T21:25:38.523Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/100369507189110184","content":"\u003cp\u003eI + have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/100369507189110184","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py + test suite","website":null},"account":{"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":6,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"870d9260cd62e77eddec33601f1e2eec"] + ETag: [W/"f38648e739a25f995ed7d242b59a0a04"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -143,8 +143,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [caf68b5c-8274-4ffa-b9e5-ae6138bd7c93] - X-Runtime: ['0.174434'] + X-Request-Id: [5249cbf5-d705-4c5b-a4e0-9681f9e55b80] + X-Runtime: ['0.133811'] X-XSS-Protection: [1; mode=block] content-length: ['1196'] status: {code: 200, message: OK} @@ -155,19 +155,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/timelines/list/6 + uri: http://localhost:3000/api/v1/timelines/list/10 response: - body: {string: '[{"id":"100154030964539690","created_at":"2018-06-05T20:07:12.265Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/100154030964539690","content":"\u003cp\u003eI - have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/100154030964539690","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py - test suite","website":null},"account":{"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":4,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'} + body: {string: '[{"id":"100369507189110184","created_at":"2018-07-13T21:25:38.523Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/100369507189110184","content":"\u003cp\u003eI + have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/100369507189110184","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py + test suite","website":null},"account":{"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":6,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"4b26424a4de0ff441f366b4f2097a0f8"] - Link: ['; - rel="next", ; + ETag: [W/"5ca2946eb36f6fc5ffe06ca64054b80a"] + Link: ['; + rel="next", ; rel="prev"'] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] @@ -176,8 +176,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [c81b9b47-5ca0-4aa8-85f0-7b5ba43b93f9] - X-Runtime: ['0.056506'] + X-Request-Id: [0a8771de-01e5-47ea-b308-c39646919149] + X-Runtime: ['0.063009'] X-XSS-Protection: [1; mode=block] content-length: ['1183'] status: {code: 200, message: OK} @@ -189,15 +189,15 @@ interactions: Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: DELETE - uri: http://localhost:3000/api/v1/statuses/100154030964539690 + uri: http://localhost:3000/api/v1/statuses/100369507189110184 response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"15a29e4a21d7872677d426d09d5cba28"] + ETag: [W/"e550419afbc20eb5dd0d734baac1e28c"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -205,8 +205,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [38c61809-1dc9-4d62-ba3a-3df026ccaf00] - X-Runtime: ['0.032685'] + X-Request-Id: [3fa84a36-8f29-4766-ad4b-008c536f9f0b] + X-Runtime: ['0.023745'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -218,7 +218,7 @@ interactions: Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: POST uri: http://localhost:3000/api/v1/accounts/1/unfollow response: @@ -226,7 +226,7 @@ interactions: headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"3ef967632dec28ea9dc2761a494a191d"] + ETag: [W/"0d26e234d9adadd5bd21d9ab0dedf7fb"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -234,8 +234,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [233ae870-8653-40b5-9555-d344369b0d11] - X-Runtime: ['0.126611'] + X-Request-Id: [df5c6bed-aa7b-4409-a195-f4a31b48f5c4] + X-Runtime: ['0.105460'] X-XSS-Protection: [1; mode=block] content-length: ['175'] status: {code: 200, message: OK} @@ -247,15 +247,15 @@ interactions: Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: DELETE - uri: http://localhost:3000/api/v1/lists/6 + uri: http://localhost:3000/api/v1/lists/10 response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"15a29e4a21d7872677d426d09d5cba28"] + ETag: [W/"e550419afbc20eb5dd0d734baac1e28c"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -263,8 +263,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [c7b1bf59-7c43-42d6-9384-b25851731c75] - X-Runtime: ['0.052907'] + X-Request-Id: [a7d88e2f-5c75-4338-a386-944ee12bd7f9] + X-Runtime: ['0.036622'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} -- cgit v1.2.3