From 18c6b3b90ff8bd607df18af86d092ac1205ffbf7 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Tue, 5 Jun 2018 22:10:31 +0200 Subject: New casettes, small fixes --- tests/cassettes/test_list_by_account.yaml | 75 ++++++++++++++++++++----------- 1 file changed, 48 insertions(+), 27 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 4546977..a7a1238 100644 --- a/tests/cassettes/test_list_by_account.yaml +++ b/tests/cassettes/test_list_by_account.yaml @@ -12,17 +12,20 @@ interactions: method: POST uri: http://localhost:3000/api/v1/lists response: - body: {string: '{"id":"9","title":"ham burglars"}'} + body: {string: '{"id":"4","title":"ham burglars"}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"640f48d875075b3e649f85c290d31fd1"] + ETag: [W/"5652f4548eeb240240c472bb1a3af562"] + Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] + X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [1d9ac5dc-12bb-4912-a97f-1d6af93e9ff2] - X-Runtime: ['0.049308'] + X-Permitted-Cross-Domain-Policies: [none] + X-Request-Id: [95408511-16b5-444c-99d2-b14fad498a64] + X-Runtime: ['0.082001'] X-XSS-Protection: [1; mode=block] content-length: ['33'] status: {code: 200, message: OK} @@ -37,19 +40,22 @@ 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,"created_at":"2018-05-06T22:36:57.850Z","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":3,"source":{"privacy":"public","sensitive":false,"note":""}}'} + 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":[]}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"51219e03abcdd2d127bb724fe0a838d6"] + ETag: [W/"c017bdb938eefa8a8034894054975d66"] + Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] + X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [3e80d124-aae6-435b-8a1b-e0a0cad63ccd] - X-Runtime: ['0.036737'] + X-Permitted-Cross-Domain-Policies: [none] + X-Request-Id: [9b7fe285-a1a9-4beb-acb8-324c2eac89ef] + X-Runtime: ['0.139649'] X-XSS-Protection: [1; mode=block] - content-length: ['570'] + content-length: ['618'] status: {code: 200, message: OK} - request: body: null @@ -67,13 +73,16 @@ interactions: headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"a68e62a364c40a8a5da2e2143dcfaecd"] + ETag: [W/"bcbf0a54a300dfa406a3bb2e03c0dc7a"] + Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] + X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [7c8099fa-0867-4cce-8319-a83c9cd99bc6] - X-Runtime: ['0.134127'] + X-Permitted-Cross-Domain-Policies: [none] + X-Request-Id: [f4455a91-8459-4894-a6f0-7df573ab97a3] + X-Runtime: ['0.418318'] X-XSS-Protection: [1; mode=block] content-length: ['174'] status: {code: 200, message: OK} @@ -88,19 +97,22 @@ interactions: Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.9.1] method: POST - uri: http://localhost:3000/api/v1/lists/9/accounts + uri: http://localhost:3000/api/v1/lists/4/accounts response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"9f1be5e69062532601176acaaa81e8db"] + ETag: [W/"88bda25f452d0221c0a5cf9ba90fd81a"] + Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] + X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [6b6e6e37-0bbd-4532-99a3-dfa746739733] - X-Runtime: ['0.040029'] + X-Permitted-Cross-Domain-Policies: [none] + X-Request-Id: [2b43424f-8d7a-4cc3-a3d1-dc3bfd9bcea4] + X-Runtime: ['0.129306'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -115,17 +127,20 @@ interactions: method: GET uri: http://localhost:3000/api/v1/accounts/1/lists response: - body: {string: '[{"id":"9","title":"ham burglars"}]'} + body: {string: '[{"id":"4","title":"ham burglars"}]'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"5f364b9443a59ad23cb424bc96d9f5e8"] + ETag: [W/"bf9fc860ee5a24974e252d7ae389fadc"] + Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] + X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [5b3c9ed2-e3e1-4fb2-9d48-6f119f413354] - X-Runtime: ['0.018570'] + X-Permitted-Cross-Domain-Policies: [none] + X-Request-Id: [ad34b645-6caf-4a20-98dd-c1f24d87f9c5] + X-Runtime: ['0.062866'] X-XSS-Protection: [1; mode=block] content-length: ['35'] status: {code: 200, message: OK} @@ -145,13 +160,16 @@ interactions: headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"fc1dc246eca7eb18d44186a403f34e4d"] + ETag: [W/"9047f6dec9bb4896993e3fc15c6b4bef"] + Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] + X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [81376983-689a-42f6-beeb-fdcfebaf8079] - X-Runtime: ['0.044272'] + X-Permitted-Cross-Domain-Policies: [none] + X-Request-Id: [2adbd14c-fa4d-4606-bf56-9dbf61767f8f] + X-Runtime: ['0.118645'] X-XSS-Protection: [1; mode=block] content-length: ['175'] status: {code: 200, message: OK} @@ -165,19 +183,22 @@ interactions: Content-Length: ['0'] User-Agent: [python-requests/2.9.1] method: DELETE - uri: http://localhost:3000/api/v1/lists/9 + uri: http://localhost:3000/api/v1/lists/4 response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"9f1be5e69062532601176acaaa81e8db"] + ETag: [W/"88bda25f452d0221c0a5cf9ba90fd81a"] + Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] + X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [d1348013-9f40-490a-bf57-b47811b9a5b5] - X-Runtime: ['0.031188'] + X-Permitted-Cross-Domain-Policies: [none] + X-Request-Id: [2eb0df1b-4ae3-4456-92c5-ec1b77c72b7f] + X-Runtime: ['0.062035'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} -- cgit v1.2.3