From 8d5fe70c7e52656b2f89d0acfb1aed23bf583041 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Mon, 7 May 2018 00:53:13 +0200 Subject: Fix some bugs, update tests --- tests/cassettes/test_list_update.yaml | 62 +++++++++++++++++------------------ 1 file changed, 31 insertions(+), 31 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 e2c64d6..c88ee17 100644 --- a/tests/cassettes/test_list_update.yaml +++ b/tests/cassettes/test_list_update.yaml @@ -12,19 +12,19 @@ interactions: method: POST uri: http://localhost:3000/api/v1/lists response: - body: {string: '{"id":"22","title":"ham burglars"}'} + body: {string: '{"id":"7","title":"ham burglars"}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"0c98211766a89984581c09197affd90c"] + ETag: [W/"870043ec1a2c20d1ba7c19d5ab384317"] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [fe851633-a39e-4bbd-8ecd-665d08ad9d69] - X-Runtime: ['0.046417'] + X-Request-Id: [290ac0a3-c65f-44ed-9f5d-7fd62a015cd2] + X-Runtime: ['0.069685'] X-XSS-Protection: [1; mode=block] - content-length: ['34'] + content-length: ['33'] status: {code: 200, message: OK} - request: body: title=fry+kids @@ -37,21 +37,21 @@ interactions: Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.9.1] method: PUT - uri: http://localhost:3000/api/v1/lists/22 + uri: http://localhost:3000/api/v1/lists/7 response: - body: {string: '{"id":"22","title":"fry kids"}'} + body: {string: '{"id":"7","title":"fry kids"}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"6dd7ff39115629170e5815c546666ab8"] + ETag: [W/"48f0fc792f3314e044a4865b2d749e7c"] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [157f5470-3782-40e4-80ac-ea94f8e3f575] - X-Runtime: ['0.051260'] + X-Request-Id: [8cb403af-8a2d-46b9-b6d4-69d8b3b58e47] + X-Runtime: ['0.101008'] X-XSS-Protection: [1; mode=block] - content-length: ['30'] + content-length: ['29'] status: {code: 200, message: OK} - request: body: null @@ -64,19 +64,19 @@ interactions: method: GET uri: http://localhost:3000/api/v1/lists response: - body: {string: '[{"id":"1","title":"ham burglars"},{"id":"22","title":"fry kids"}]'} + body: {string: '[{"id":"7","title":"fry kids"}]'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"3a312ac5c7092d9a90693c236852fdc9"] + ETag: [W/"4a6d54cb4d48e4f703bc70876a952331"] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [22dae45a-b92a-4ff0-b1a0-50ff690f429a] - X-Runtime: ['0.045067'] + X-Request-Id: [7a8af457-f11e-4728-8875-9dff908183c7] + X-Runtime: ['0.034727'] X-XSS-Protection: [1; mode=block] - content-length: ['66'] + content-length: ['31'] status: {code: 200, message: OK} - request: body: null @@ -89,19 +89,19 @@ interactions: method: GET uri: http://localhost:3000/api/v1/lists response: - body: {string: '[{"id":"1","title":"ham burglars"},{"id":"22","title":"fry kids"}]'} + body: {string: '[{"id":"7","title":"fry kids"}]'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"3a312ac5c7092d9a90693c236852fdc9"] + ETag: [W/"4a6d54cb4d48e4f703bc70876a952331"] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [c4381d47-2ef7-40f8-ae75-ce8996886177] - X-Runtime: ['0.036421'] + X-Request-Id: [beca1ad4-72b5-4915-a4ae-19e8ef10e845] + X-Runtime: ['0.025595'] X-XSS-Protection: [1; mode=block] - content-length: ['66'] + content-length: ['31'] status: {code: 200, message: OK} - request: body: null @@ -112,21 +112,21 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.9.1] method: GET - uri: http://localhost:3000/api/v1/lists/22 + uri: http://localhost:3000/api/v1/lists/7 response: - body: {string: '{"id":"22","title":"fry kids"}'} + body: {string: '{"id":"7","title":"fry kids"}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"6dd7ff39115629170e5815c546666ab8"] + ETag: [W/"48f0fc792f3314e044a4865b2d749e7c"] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [3e821cd3-7c44-4e3a-8cdf-9fa498f0bb68] - X-Runtime: ['0.020432'] + X-Request-Id: [b4219f18-504e-4d22-ba8f-3f50019e3451] + X-Runtime: ['0.026199'] X-XSS-Protection: [1; mode=block] - content-length: ['30'] + content-length: ['29'] status: {code: 200, message: OK} - request: body: null @@ -138,19 +138,19 @@ interactions: Content-Length: ['0'] User-Agent: [python-requests/2.9.1] method: DELETE - uri: http://localhost:3000/api/v1/lists/22 + uri: http://localhost:3000/api/v1/lists/7 response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"ee6751ce2dc32e165dd24aca071f6eed"] + ETag: [W/"a77455733b41870263bbeac3de0e0dac"] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [a8576f90-288b-4271-af8a-9bcabf3e2df9] - X-Runtime: ['0.032007'] + X-Request-Id: [9c1553cd-8748-46a1-aaad-3dc009fb165b] + X-Runtime: ['0.041789'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} -- cgit v1.2.3