From e3936649745a627fa2c31fc7b8602793b7d6027b Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 27 Apr 2019 21:04:06 +0200 Subject: Test fixups and small 2.8 fixes Pagination backwards is broken presently. --- tests/cassettes/test_list_update.yaml | 52 +++++++++++++++++------------------ 1 file changed, 26 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 9424503..29561a0 100644 --- a/tests/cassettes/test_list_update.yaml +++ b/tests/cassettes/test_list_update.yaml @@ -12,11 +12,11 @@ interactions: method: POST uri: http://localhost:3000/api/v1/lists response: - body: {string: '{"id":"15","title":"ham burglars"}'} + body: {string: '{"id":"12","title":"ham burglars"}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"be300644601d64a748660907d23609f0"] + ETag: [W/"74769f86e8fae8a99d2bd243cebde639"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -24,8 +24,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [62160ec6-96db-4501-a2df-434b0cd27bfa] - X-Runtime: ['0.031089'] + X-Request-Id: [3336c659-4139-4b86-ad79-14f5b94db0c0] + X-Runtime: ['0.022639'] X-XSS-Protection: [1; mode=block] content-length: ['34'] status: {code: 200, message: OK} @@ -40,13 +40,13 @@ interactions: Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: PUT - uri: http://localhost:3000/api/v1/lists/15 + uri: http://localhost:3000/api/v1/lists/12 response: - body: {string: '{"id":"15","title":"fry kids"}'} + body: {string: '{"id":"12","title":"fry kids"}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"7c5abd06c9bf08b86e6b8584b43da8e1"] + ETag: [W/"7eb040185722ff1421698e759173da1e"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -54,8 +54,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [ce929850-6ae9-4190-8845-bef516d0db4f] - X-Runtime: ['0.026406'] + X-Request-Id: [2fd73526-6fe2-46a0-98ec-8d8c2edb6f38] + X-Runtime: ['0.031404'] X-XSS-Protection: [1; mode=block] content-length: ['30'] status: {code: 200, message: OK} @@ -70,11 +70,11 @@ interactions: method: GET uri: http://localhost:3000/api/v1/lists response: - body: {string: '[{"id":"15","title":"fry kids"}]'} + body: {string: '[{"id":"12","title":"fry kids"}]'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"d44746868c766be7ffbbcf4418dc6012"] + ETag: [W/"46d32f4b243293ec2f9f8e32432a5e31"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -82,8 +82,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [8349c616-f910-4d1d-9e86-fcf80614913f] - X-Runtime: ['0.021217'] + X-Request-Id: [7c18b9b4-74b1-4814-8baf-5222027d98a7] + X-Runtime: ['0.015704'] X-XSS-Protection: [1; mode=block] content-length: ['32'] status: {code: 200, message: OK} @@ -98,11 +98,11 @@ interactions: method: GET uri: http://localhost:3000/api/v1/lists response: - body: {string: '[{"id":"15","title":"fry kids"}]'} + body: {string: '[{"id":"12","title":"fry kids"}]'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"d44746868c766be7ffbbcf4418dc6012"] + ETag: [W/"46d32f4b243293ec2f9f8e32432a5e31"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -110,8 +110,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [6b53d39e-adb6-4ceb-ae6d-6179932bfdb2] - X-Runtime: ['0.019543'] + X-Request-Id: [cda72984-c48d-4b43-ae0f-a7c7572e86c6] + X-Runtime: ['0.015326'] X-XSS-Protection: [1; mode=block] content-length: ['32'] status: {code: 200, message: OK} @@ -124,13 +124,13 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/lists/15 + uri: http://localhost:3000/api/v1/lists/12 response: - body: {string: '{"id":"15","title":"fry kids"}'} + body: {string: '{"id":"12","title":"fry kids"}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"7c5abd06c9bf08b86e6b8584b43da8e1"] + ETag: [W/"7eb040185722ff1421698e759173da1e"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -138,8 +138,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [f32d6a65-ac69-4b9a-be14-cf10ca6867a2] - X-Runtime: ['0.023812'] + X-Request-Id: [f455489c-7149-4897-8d06-c705784f6b02] + X-Runtime: ['0.016879'] X-XSS-Protection: [1; mode=block] content-length: ['30'] status: {code: 200, message: OK} @@ -153,13 +153,13 @@ interactions: Content-Length: ['0'] User-Agent: [python-requests/2.18.4] method: DELETE - uri: http://localhost:3000/api/v1/lists/15 + uri: http://localhost:3000/api/v1/lists/12 response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"1117e5398aa3b3d23877677b5f948531"] + ETag: [W/"f7218fbcd1fb889396566736881b9808"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -167,8 +167,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [88d1d200-370d-43f3-8bc3-0b68aff372be] - X-Runtime: ['0.035573'] + X-Request-Id: [a99bc633-28e3-47db-8c9d-a773d015b25d] + X-Runtime: ['0.028553'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} -- cgit v1.2.3