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_update.yaml | 70 ++++++++++++++++++++++------------- 1 file changed, 44 insertions(+), 26 deletions(-) (limited to 'tests/cassettes/test_list_update.yaml') diff --git a/tests/cassettes/test_list_update.yaml b/tests/cassettes/test_list_update.yaml index c88ee17..78f2932 100644 --- a/tests/cassettes/test_list_update.yaml +++ b/tests/cassettes/test_list_update.yaml @@ -12,17 +12,20 @@ interactions: method: POST uri: http://localhost:3000/api/v1/lists response: - body: {string: '{"id":"7","title":"ham burglars"}'} + body: {string: '{"id":"2","title":"ham burglars"}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"870043ec1a2c20d1ba7c19d5ab384317"] + ETag: [W/"a343ce83bc8b84abab7154a56f14035b"] + 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: [290ac0a3-c65f-44ed-9f5d-7fd62a015cd2] - X-Runtime: ['0.069685'] + X-Permitted-Cross-Domain-Policies: [none] + X-Request-Id: [d0fc2794-2874-4462-b074-eb27b23359a7] + X-Runtime: ['0.086417'] X-XSS-Protection: [1; mode=block] content-length: ['33'] status: {code: 200, message: OK} @@ -37,19 +40,22 @@ interactions: Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.9.1] method: PUT - uri: http://localhost:3000/api/v1/lists/7 + uri: http://localhost:3000/api/v1/lists/2 response: - body: {string: '{"id":"7","title":"fry kids"}'} + body: {string: '{"id":"2","title":"fry kids"}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"48f0fc792f3314e044a4865b2d749e7c"] + ETag: [W/"5f9702eb6e8d3917f3239c3bfe770fe7"] + 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: [8cb403af-8a2d-46b9-b6d4-69d8b3b58e47] - X-Runtime: ['0.101008'] + X-Permitted-Cross-Domain-Policies: [none] + X-Request-Id: [0c1814d9-2366-479a-a8a1-13e0d851a2a1] + X-Runtime: ['0.068542'] X-XSS-Protection: [1; mode=block] content-length: ['29'] status: {code: 200, message: OK} @@ -64,17 +70,20 @@ interactions: method: GET uri: http://localhost:3000/api/v1/lists response: - body: {string: '[{"id":"7","title":"fry kids"}]'} + body: {string: '[{"id":"2","title":"fry kids"}]'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"4a6d54cb4d48e4f703bc70876a952331"] + ETag: [W/"926988ef492808df5c81bd5b1f4c1f8a"] + 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: [7a8af457-f11e-4728-8875-9dff908183c7] - X-Runtime: ['0.034727'] + X-Permitted-Cross-Domain-Policies: [none] + X-Request-Id: [7b524c3a-7e56-4c7d-9cf4-9a101d71c648] + X-Runtime: ['0.044809'] X-XSS-Protection: [1; mode=block] content-length: ['31'] status: {code: 200, message: OK} @@ -89,17 +98,20 @@ interactions: method: GET uri: http://localhost:3000/api/v1/lists response: - body: {string: '[{"id":"7","title":"fry kids"}]'} + body: {string: '[{"id":"2","title":"fry kids"}]'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"4a6d54cb4d48e4f703bc70876a952331"] + ETag: [W/"926988ef492808df5c81bd5b1f4c1f8a"] + 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: [beca1ad4-72b5-4915-a4ae-19e8ef10e845] - X-Runtime: ['0.025595'] + X-Permitted-Cross-Domain-Policies: [none] + X-Request-Id: [9516d7b7-9e38-43ae-986c-82adbc09293f] + X-Runtime: ['0.052375'] X-XSS-Protection: [1; mode=block] content-length: ['31'] status: {code: 200, message: OK} @@ -112,19 +124,22 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.9.1] method: GET - uri: http://localhost:3000/api/v1/lists/7 + uri: http://localhost:3000/api/v1/lists/2 response: - body: {string: '{"id":"7","title":"fry kids"}'} + body: {string: '{"id":"2","title":"fry kids"}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"48f0fc792f3314e044a4865b2d749e7c"] + ETag: [W/"33f2691122c3ffa600411f33cf8a4110"] + 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: [b4219f18-504e-4d22-ba8f-3f50019e3451] - X-Runtime: ['0.026199'] + X-Permitted-Cross-Domain-Policies: [none] + X-Request-Id: [26ccb57d-bd7b-4747-b1e9-fd7c6ac2ff98] + X-Runtime: ['0.057897'] X-XSS-Protection: [1; mode=block] content-length: ['29'] status: {code: 200, message: OK} @@ -138,19 +153,22 @@ interactions: Content-Length: ['0'] User-Agent: [python-requests/2.9.1] method: DELETE - uri: http://localhost:3000/api/v1/lists/7 + uri: http://localhost:3000/api/v1/lists/2 response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"a77455733b41870263bbeac3de0e0dac"] + ETag: [W/"1478c124a8edf360aee59b9e6bfe3a4d"] + 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: [9c1553cd-8748-46a1-aaad-3dc009fb165b] - X-Runtime: ['0.041789'] + X-Permitted-Cross-Domain-Policies: [none] + X-Request-Id: [fc251a74-2c4a-4b0a-9bab-fd68166664cc] + X-Runtime: ['0.079122'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} -- cgit v1.2.3