From 437f68c29a18303de3c75962021bbe030b2cf85c Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Fri, 11 Oct 2019 23:59:24 +0200 Subject: Update tests for 3.0.1 and fix regressions --- tests/cassettes/test_list_by_account.yaml | 40 +++++++++++++++---------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'tests/cassettes/test_list_by_account.yaml') diff --git a/tests/cassettes/test_list_by_account.yaml b/tests/cassettes/test_list_by_account.yaml index a4042ef..21fe76e 100644 --- a/tests/cassettes/test_list_by_account.yaml +++ b/tests/cassettes/test_list_by_account.yaml @@ -12,7 +12,7 @@ interactions: method: POST uri: http://localhost:3000/api/v1/lists response: - body: {string: '{"id":"24","title":"ham burglars"}'} + body: {string: '{"id":"44","title":"ham burglars"}'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] @@ -23,8 +23,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [6f10d6d7-dcc8-49b2-9069-0bb68c6a8176] - X-Runtime: ['0.026989'] + X-Request-Id: [9427d811-0916-4d16-98a3-f787d1995dad] + X-Runtime: ['0.102152'] X-XSS-Protection: [1; mode=block] content-length: ['34'] status: {code: 200, message: OK} @@ -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":2,"following_count":1,"statuses_count":16,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} + 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":27,"last_status_at":"2019-10-11T21:48:42.003Z","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: [b1060cec-a428-4043-b223-39f9b2380f41] - X-Runtime: ['0.020614'] + X-Request-Id: [44b85a67-2c19-414c-af1d-1c3a4def321e] + X-Runtime: ['0.032667'] X-XSS-Protection: [1; mode=block] - content-length: ['610'] + content-length: ['680'] 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: [9d655eda-5c16-48d8-a61e-4717df1478b9] - X-Runtime: ['0.092035'] + X-Request-Id: [0dfe6e14-763d-4e22-874f-cb159f3642ad] + X-Runtime: ['0.109923'] 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/24/accounts + uri: http://localhost:3000/api/v1/lists/44/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: [2cde6a23-bfd1-46df-b3e6-67104ae2826c] - X-Runtime: ['0.071463'] + X-Request-Id: [935e5ee1-15b8-4d84-8e7c-73b1c6fa55e0] + X-Runtime: ['0.093337'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -124,7 +124,7 @@ interactions: method: GET uri: http://localhost:3000/api/v1/accounts/1/lists response: - body: {string: '[{"id":"24","title":"ham burglars"}]'} + body: {string: '[{"id":"44","title":"ham burglars"}]'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] @@ -135,8 +135,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [a3397799-61cc-4864-a5e1-7b21ff5cfbeb] - X-Runtime: ['0.048465'] + X-Request-Id: [54c0bf7f-c4d8-465c-9c83-0ee3f75b50f4] + X-Runtime: ['0.034243'] X-XSS-Protection: [1; mode=block] content-length: ['36'] status: {code: 200, message: OK} @@ -163,8 +163,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [6ded37ed-45cf-4a8e-a655-06978e7071cd] - X-Runtime: ['0.044624'] + X-Request-Id: [48f0e39b-d4d1-4fae-b131-b7da6d6d65f2] + X-Runtime: ['0.070666'] X-XSS-Protection: [1; mode=block] content-length: ['211'] status: {code: 200, message: OK} @@ -178,7 +178,7 @@ interactions: Content-Length: ['0'] User-Agent: [python-requests/2.18.4] method: DELETE - uri: http://localhost:3000/api/v1/lists/24 + uri: http://localhost:3000/api/v1/lists/44 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: [09671af5-e815-46c2-8930-fc6ec6a3b563] - X-Runtime: ['0.023473'] + X-Request-Id: [6a90dd91-5297-4036-ab47-84ce72a4f815] + X-Runtime: ['0.045643'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} -- cgit v1.2.3