From 4f90728a4a8c98f3ee7e9aab5a05f93c152a375d Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 22 Feb 2020 20:31:33 +0100 Subject: Fix tests for 3.1.1 --- tests/cassettes/test_list_add_remove_account.yaml | 92 +++++++++++------------ 1 file changed, 46 insertions(+), 46 deletions(-) (limited to 'tests/cassettes/test_list_add_remove_account.yaml') diff --git a/tests/cassettes/test_list_add_remove_account.yaml b/tests/cassettes/test_list_add_remove_account.yaml index c85bca4..e3f3e99 100644 --- a/tests/cassettes/test_list_add_remove_account.yaml +++ b/tests/cassettes/test_list_add_remove_account.yaml @@ -12,7 +12,7 @@ interactions: method: POST uri: http://localhost:3000/api/v1/lists response: - body: {string: '{"id":"48","title":"ham burglars"}'} + body: {string: '{"id":"3","title":"ham burglars"}'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] @@ -23,10 +23,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [46ceae1d-d0ea-4d09-a7b2-be1d9f7fb4e4] - X-Runtime: ['0.023184'] + X-Request-Id: [aa7ea0f4-a379-4b94-a763-dfae6ce5d9d2] + X-Runtime: ['0.036237'] X-XSS-Protection: [1; mode=block] - content-length: ['34'] + content-length: ['33'] status: {code: 200, message: OK} - request: body: null @@ -39,7 +39,7 @@ interactions: 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":"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":30,"last_status_at":"2019-10-12T21:00:36.915Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} + body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":0,"last_status_at":"2020-02-22","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] @@ -50,10 +50,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [a1631d5c-177d-4829-bee0-33a25bdc281d] - X-Runtime: ['0.027102'] + X-Request-Id: [0d02ae01-4b3a-4401-b691-f8628b41338c] + X-Runtime: ['0.038679'] X-XSS-Protection: [1; mode=block] - content-length: ['680'] + content-length: ['699'] status: {code: 200, message: OK} - request: body: reblogs=1&id=1 @@ -79,8 +79,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [441f9dc4-014d-4741-be8c-a9874a9855b1] - X-Runtime: ['0.034350'] + X-Request-Id: [a998059d-5d5f-42e8-990c-000c27a8595d] + X-Runtime: ['0.047697'] X-XSS-Protection: [1; mode=block] content-length: ['209'] status: {code: 200, message: OK} @@ -95,7 +95,7 @@ interactions: Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: POST - uri: http://localhost:3000/api/v1/lists/48/accounts + uri: http://localhost:3000/api/v1/lists/3/accounts response: body: {string: '{}'} headers: @@ -108,8 +108,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [f49a914b-8d35-4e8f-ab6c-595e5a634504] - X-Runtime: ['0.033906'] + X-Request-Id: [001e49fa-90d3-4a32-bbf8-668cc8bcabde] + X-Runtime: ['0.115558'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -122,13 +122,13 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/lists/48/accounts + uri: http://localhost:3000/api/v1/lists/3/accounts response: - body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":3,"following_count":1,"statuses_count":30,"last_status_at":"2019-10-12T21:00:36.915Z","emojis":[],"fields":[]}]'} + body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":0,"last_status_at":"2020-02-22","emojis":[],"fields":[]}]'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] - Link: ['; rel="prev"'] + Link: ['; rel="prev"'] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -136,10 +136,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [84f3c4da-465e-43dd-93fa-ff594b093d23] - X-Runtime: ['0.043998'] + X-Request-Id: [38b2be97-13f6-436c-ae6f-99eada513482] + X-Runtime: ['0.046362'] X-XSS-Protection: [1; mode=block] - content-length: ['570'] + content-length: ['589'] status: {code: 200, message: OK} - request: body: null @@ -164,8 +164,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [2ebe7b66-0320-4fd9-bea8-d3aac6db0121] - X-Runtime: ['0.065449'] + X-Request-Id: [63b1aed6-cdac-4aca-8d24-565455586e2e] + X-Runtime: ['0.083102'] X-XSS-Protection: [1; mode=block] content-length: ['211'] status: {code: 200, message: OK} @@ -178,7 +178,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/lists/48/accounts + uri: http://localhost:3000/api/v1/lists/3/accounts response: body: {string: '[]'} headers: @@ -191,8 +191,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [73142ca6-932c-4240-bade-587bc171137f] - X-Runtime: ['0.029088'] + X-Request-Id: [2b6696e2-f70e-4319-a39e-61a4705e4539] + X-Runtime: ['0.035035'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -220,8 +220,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [971eba97-5e41-4a56-b834-7e4d16dfec91] - X-Runtime: ['0.074819'] + X-Request-Id: [5bcef462-4f07-41a7-b4c9-c171e93200fc] + X-Runtime: ['0.119198'] X-XSS-Protection: [1; mode=block] content-length: ['209'] status: {code: 200, message: OK} @@ -236,7 +236,7 @@ interactions: Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: POST - uri: http://localhost:3000/api/v1/lists/48/accounts + uri: http://localhost:3000/api/v1/lists/3/accounts response: body: {string: '{}'} headers: @@ -249,8 +249,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [bdb1a0fe-87be-4e09-ac57-07ade53ed31c] - X-Runtime: ['0.097558'] + X-Request-Id: [309e20e5-4748-4936-b2cb-45a7fa2eb106] + X-Runtime: ['0.079076'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -263,13 +263,13 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/lists/48/accounts + uri: http://localhost:3000/api/v1/lists/3/accounts response: - body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":3,"following_count":1,"statuses_count":30,"last_status_at":"2019-10-12T21:00:36.915Z","emojis":[],"fields":[]}]'} + body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":0,"last_status_at":"2020-02-22","emojis":[],"fields":[]}]'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] - Link: ['; rel="prev"'] + Link: ['; rel="prev"'] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -277,10 +277,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [a4dc905e-af1f-4485-83e0-7b7b8ea59f84] - X-Runtime: ['0.042041'] + X-Request-Id: [64e7e959-a00f-440c-9345-be8f45f12fe7] + X-Runtime: ['0.035964'] X-XSS-Protection: [1; mode=block] - content-length: ['570'] + content-length: ['589'] status: {code: 200, message: OK} - request: body: account_ids%5B%5D=1 @@ -293,7 +293,7 @@ interactions: Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: DELETE - uri: http://localhost:3000/api/v1/lists/48/accounts + uri: http://localhost:3000/api/v1/lists/3/accounts response: body: {string: '{}'} headers: @@ -306,8 +306,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [5477556f-e505-4607-a77a-828fa3b269a5] - X-Runtime: ['0.033345'] + X-Request-Id: [661c5fed-ad7e-4952-a2b8-a78d2ccc3daa] + X-Runtime: ['0.043183'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -320,7 +320,7 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/lists/48/accounts + uri: http://localhost:3000/api/v1/lists/3/accounts response: body: {string: '[]'} headers: @@ -333,8 +333,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [9c2ce80a-31c7-498d-892e-70e9dab65271] - X-Runtime: ['0.025958'] + X-Request-Id: [e61d56d9-1db2-4b0c-a566-0f3eb994d6f2] + X-Runtime: ['0.031484'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -361,8 +361,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [751ed91a-0b2a-43e0-84cc-390bf107c41f] - X-Runtime: ['0.067338'] + X-Request-Id: [d1be2bba-6c05-463e-a92b-c1867a50b5bf] + X-Runtime: ['0.072562'] X-XSS-Protection: [1; mode=block] content-length: ['211'] status: {code: 200, message: OK} @@ -376,7 +376,7 @@ interactions: Content-Length: ['0'] User-Agent: [python-requests/2.18.4] method: DELETE - uri: http://localhost:3000/api/v1/lists/48 + uri: http://localhost:3000/api/v1/lists/3 response: body: {string: '{}'} headers: @@ -389,8 +389,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [c212c87e-6fd8-4955-84ea-8ed4a346463b] - X-Runtime: ['0.065464'] + X-Request-Id: [4d33e7eb-8d57-465c-973a-82967971763f] + X-Runtime: ['0.038794'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} -- cgit v1.2.3