From 65b1f41e65d5f20136de0bd01f154ecf4134eaf8 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 14 Jul 2018 01:07:26 +0200 Subject: Rerun all tests --- tests/cassettes/test_list_add_remove_account.yaml | 142 +++++++++++----------- 1 file changed, 71 insertions(+), 71 deletions(-) (limited to 'tests/cassettes/test_list_add_remove_account.yaml') diff --git a/tests/cassettes/test_list_add_remove_account.yaml b/tests/cassettes/test_list_add_remove_account.yaml index 15d929a..96d8eb0 100644 --- a/tests/cassettes/test_list_add_remove_account.yaml +++ b/tests/cassettes/test_list_add_remove_account.yaml @@ -8,15 +8,15 @@ interactions: Connection: [keep-alive] Content-Length: ['18'] Content-Type: [application/x-www-form-urlencoded] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: POST uri: http://localhost:3000/api/v1/lists response: - body: {string: '{"id":"3","title":"ham burglars"}'} + body: {string: '{"id":"8","title":"ham burglars"}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"bde5505077888aca5d296491d8b152f2"] + ETag: [W/"fa515662bd5f01d24648b40d4019aad1"] 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: [95613d6c-bbca-4d8b-9e63-7eda5c9b287d] - X-Runtime: ['0.078837'] + X-Request-Id: [6f26ef1b-5e51-4cbd-b165-08bd0ba19035] + X-Runtime: ['0.024120'] X-XSS-Protection: [1; mode=block] content-length: ['33'] status: {code: 200, message: OK} @@ -36,15 +36,15 @@ interactions: Accept-Encoding: ['gzip, deflate'] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] Connection: [keep-alive] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] 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":"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":[]}'} + body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","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":5,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"13e690525c13a9baa91204f3d37766d3"] + ETag: [W/"2c1db1f5c9c342772002bf0d4ff450ec"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -52,10 +52,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [e87830c8-e61c-4976-9558-a3ec27349b1c] - X-Runtime: ['0.057113'] + X-Request-Id: [60e7b33d-da24-4ff7-8f2f-3264d837c2b6] + X-Runtime: ['0.018413'] X-XSS-Protection: [1; mode=block] - content-length: ['618'] + content-length: ['634'] status: {code: 200, message: OK} - request: body: null @@ -65,7 +65,7 @@ interactions: Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: POST uri: http://localhost:3000/api/v1/accounts/1/follow response: @@ -73,7 +73,7 @@ interactions: headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"594ca73cca2f5b3858f980d2876be423"] + ETag: [W/"6de77dd5834bb5fc499eed9cda4081de"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -81,8 +81,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [193fe503-6915-4717-add4-355f4985c7fa] - X-Runtime: ['0.234446'] + X-Request-Id: [bd78a915-f029-4986-b952-dabd4dda120c] + X-Runtime: ['0.063270'] X-XSS-Protection: [1; mode=block] content-length: ['174'] status: {code: 200, message: OK} @@ -95,15 +95,15 @@ interactions: Connection: [keep-alive] Content-Length: ['19'] Content-Type: [application/x-www-form-urlencoded] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: POST - uri: http://localhost:3000/api/v1/lists/3/accounts + uri: http://localhost:3000/api/v1/lists/8/accounts response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"be789cced1cf6f3b9b169fcd8f78983a"] + ETag: [W/"bf92612b432ba5b51a56b55e4c0b9817"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -111,8 +111,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [0ff8ad28-45bc-47f9-9ce7-28e255b6381d] - X-Runtime: ['0.195713'] + X-Request-Id: [f89cdcb6-0bd2-434f-83b1-5a285359bc30] + X-Runtime: ['0.047258'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -123,16 +123,16 @@ interactions: Accept-Encoding: ['gzip, deflate'] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/lists/3/accounts + uri: http://localhost:3000/api/v1/lists/8/accounts response: - 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":1,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}]'} + body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","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":1,"following_count":0,"statuses_count":5,"emojis":[],"fields":[]}]'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"07551ac8055da6dd5d355f8aad21fc4c"] - Link: ['; rel="prev"'] + ETag: [W/"a474745c1f57a6da8e80efa488b51726"] + Link: ['; rel="prev"'] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -140,8 +140,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [42f84919-12f9-4e03-8d35-ec6eb725034a] - X-Runtime: ['0.078360'] + X-Request-Id: [a5f30350-5070-4d6b-bf1f-b8a320da9f2a] + X-Runtime: ['0.018499'] X-XSS-Protection: [1; mode=block] content-length: ['550'] status: {code: 200, message: OK} @@ -153,7 +153,7 @@ interactions: Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: POST uri: http://localhost:3000/api/v1/accounts/1/unfollow response: @@ -161,7 +161,7 @@ interactions: headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"ecba6a18a8cb8442f0079a10ff3fbbf0"] + ETag: [W/"8afbf44289c39f499be3ca55837eced5"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -169,8 +169,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [5bd3f41f-72f1-4528-87fb-c1a84d488d3a] - X-Runtime: ['0.140527'] + X-Request-Id: [0f7ff949-22cd-4d68-92cc-90c7ee5c8dd8] + X-Runtime: ['0.049951'] X-XSS-Protection: [1; mode=block] content-length: ['175'] status: {code: 200, message: OK} @@ -181,15 +181,15 @@ interactions: Accept-Encoding: ['gzip, deflate'] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/lists/3/accounts + uri: http://localhost:3000/api/v1/lists/8/accounts response: body: {string: '[]'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"066c06a3289a5697d51f5e8a39d6c906"] + ETag: [W/"d77e610161dd1bed88178cffc05bb02a"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -197,8 +197,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [a973e6dd-fa10-4d3e-b204-0f474621472e] - X-Runtime: ['0.055322'] + X-Request-Id: [627eb941-8858-4548-9da8-a138a77ad8dc] + X-Runtime: ['0.023576'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -210,7 +210,7 @@ interactions: Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: POST uri: http://localhost:3000/api/v1/accounts/1/follow response: @@ -218,7 +218,7 @@ interactions: headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"5b25f6a87748efb778aab093f8a05626"] + ETag: [W/"6de77dd5834bb5fc499eed9cda4081de"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -226,8 +226,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [a06e8b28-8724-451e-8378-715eb7d98d72] - X-Runtime: ['0.210418'] + X-Request-Id: [0d1ce293-50c1-4294-b91e-a76cf5454494] + X-Runtime: ['0.071417'] X-XSS-Protection: [1; mode=block] content-length: ['174'] status: {code: 200, message: OK} @@ -240,15 +240,15 @@ interactions: Connection: [keep-alive] Content-Length: ['19'] Content-Type: [application/x-www-form-urlencoded] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: POST - uri: http://localhost:3000/api/v1/lists/3/accounts + uri: http://localhost:3000/api/v1/lists/8/accounts response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"be789cced1cf6f3b9b169fcd8f78983a"] + ETag: [W/"bf92612b432ba5b51a56b55e4c0b9817"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -256,8 +256,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [6a6fe4f4-f15b-4d37-849c-e28cf491e81f] - X-Runtime: ['0.090445'] + X-Request-Id: [b8a42547-99e2-402b-8745-2f7c132dcca0] + X-Runtime: ['0.041756'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -268,16 +268,16 @@ interactions: Accept-Encoding: ['gzip, deflate'] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/lists/3/accounts + uri: http://localhost:3000/api/v1/lists/8/accounts response: - 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":1,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}]'} + body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","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":1,"following_count":0,"statuses_count":5,"emojis":[],"fields":[]}]'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"07551ac8055da6dd5d355f8aad21fc4c"] - Link: ['; rel="prev"'] + ETag: [W/"a474745c1f57a6da8e80efa488b51726"] + Link: ['; rel="prev"'] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -285,8 +285,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [798c8097-973a-4131-bf67-d5c9eaead3ce] - X-Runtime: ['0.097808'] + X-Request-Id: [0f5df72d-97aa-4eea-8049-aa6c9bcb819d] + X-Runtime: ['0.017421'] X-XSS-Protection: [1; mode=block] content-length: ['550'] status: {code: 200, message: OK} @@ -299,15 +299,15 @@ interactions: Connection: [keep-alive] Content-Length: ['19'] Content-Type: [application/x-www-form-urlencoded] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: DELETE - uri: http://localhost:3000/api/v1/lists/3/accounts + uri: http://localhost:3000/api/v1/lists/8/accounts response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"be789cced1cf6f3b9b169fcd8f78983a"] + ETag: [W/"bf92612b432ba5b51a56b55e4c0b9817"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -315,8 +315,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [c5da21cf-6663-4ab7-bb1a-6682696fecaf] - X-Runtime: ['0.116511'] + X-Request-Id: [82e03414-ef8d-413f-8805-4bc9b49aef92] + X-Runtime: ['0.024025'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -327,15 +327,15 @@ interactions: Accept-Encoding: ['gzip, deflate'] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/lists/3/accounts + uri: http://localhost:3000/api/v1/lists/8/accounts response: body: {string: '[]'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"ec7d48a48a179065469d220bf9c93b19"] + ETag: [W/"d77e610161dd1bed88178cffc05bb02a"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -343,8 +343,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [329c21b7-d696-4be7-9b01-444ef0a4218e] - X-Runtime: ['0.090281'] + X-Request-Id: [bdc94f0f-6992-4c10-8b52-cdc10e876de9] + X-Runtime: ['0.021202'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -356,7 +356,7 @@ interactions: Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: POST uri: http://localhost:3000/api/v1/accounts/1/unfollow response: @@ -364,7 +364,7 @@ interactions: headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"a568ec71044d7f152116322ab4a1a571"] + ETag: [W/"8afbf44289c39f499be3ca55837eced5"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -372,8 +372,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [6ad7fefb-a2d7-4c30-991c-a158a714cbe9] - X-Runtime: ['0.146337'] + X-Request-Id: [5d35fd25-ad27-4d3c-8188-fce3458621f1] + X-Runtime: ['0.044831'] X-XSS-Protection: [1; mode=block] content-length: ['175'] status: {code: 200, message: OK} @@ -385,15 +385,15 @@ interactions: Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [python-requests/2.9.1] + User-Agent: [python-requests/2.18.4] method: DELETE - uri: http://localhost:3000/api/v1/lists/3 + uri: http://localhost:3000/api/v1/lists/8 response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"1bcae3c8085c32f992827719e2ff0cdf"] + ETag: [W/"bf92612b432ba5b51a56b55e4c0b9817"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -401,8 +401,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [1f5cc011-fa34-48a5-a8dd-598575d1d012] - X-Runtime: ['0.083378'] + X-Request-Id: [491e273f-5142-46a4-9718-23174c02ec15] + X-Runtime: ['0.021338'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} -- cgit v1.2.3