From d0c71b1a8497a3047f630cd1926f803a5190d7aa Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Mon, 30 Jul 2018 23:19:51 +0200 Subject: Fresh set of tests pre-release --- tests/cassettes/test_list_add_remove_account.yaml | 120 +++++++++++----------- 1 file changed, 60 insertions(+), 60 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 c70cfd0..9f2751d 100644 --- a/tests/cassettes/test_list_add_remove_account.yaml +++ b/tests/cassettes/test_list_add_remove_account.yaml @@ -12,11 +12,11 @@ interactions: method: POST uri: http://localhost:3000/api/v1/lists response: - body: {string: '{"id":"11","title":"ham burglars"}'} + body: {string: '{"id":"16","title":"ham burglars"}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"2e1510bf7e5d27be138dad5ee706a95c"] + ETag: [W/"b584c20fa9cf0db03162b6661d2621e8"] 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: [ba3b9608-0492-4e9e-bf94-3c0cec978c5d] - X-Runtime: ['0.052839'] + X-Request-Id: [e8856f14-de79-4f10-82f2-6551725f7332] + X-Runtime: ['0.026911'] X-XSS-Protection: [1; mode=block] content-length: ['34'] status: {code: 200, message: OK} @@ -40,11 +40,11 @@ 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,"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":67,"source":{"privacy":"public","sensitive":false,"language":null,"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":1,"following_count":0,"statuses_count":83,"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/"77222b64dac9878e096ec88200a8855c"] + ETag: [W/"c9ee97c0acce48b20640608733e71598"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -52,19 +52,19 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [6c72b0ad-2086-45ff-a7de-9fdf35686b8a] - X-Runtime: ['0.026289'] + X-Request-Id: [667ef227-4ec3-4e07-b67c-44eefb02e7ee] + X-Runtime: ['0.030328'] X-XSS-Protection: [1; mode=block] content-length: ['635'] status: {code: 200, message: OK} - request: - body: reblogs=True&id=1 + body: reblogs=1&id=1 headers: Accept: ['*/*'] Accept-Encoding: ['gzip, deflate'] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] - Content-Length: ['17'] + Content-Length: ['14'] Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: POST @@ -74,7 +74,7 @@ interactions: headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"8b9b4c18fc17527693bdad489048280a"] + ETag: [W/"a43703d3ce33bdb9fe5527c33203da98"] 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: [47c16f53-232d-46ae-aab6-5bc99c1b197b] - X-Runtime: ['0.075269'] + X-Request-Id: [a055644f-1165-43cb-bcf0-879e42c141e7] + X-Runtime: ['0.052602'] X-XSS-Protection: [1; mode=block] content-length: ['173'] status: {code: 200, message: OK} @@ -98,13 +98,13 @@ interactions: Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: POST - uri: http://localhost:3000/api/v1/lists/11/accounts + uri: http://localhost:3000/api/v1/lists/16/accounts response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"cc038aae2038665db3b200fc78f63649"] + ETag: [W/"1117e5398aa3b3d23877677b5f948531"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -112,8 +112,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [06975fb9-7db6-4abc-9f2a-ef6527833977] - X-Runtime: ['0.132509'] + X-Request-Id: [81659cc8-b46a-4222-8380-748513586891] + X-Runtime: ['0.052149'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -126,14 +126,14 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/lists/11/accounts + uri: http://localhost:3000/api/v1/lists/16/accounts response: - 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":67,"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":83,"emojis":[],"fields":[]}]'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"48e17006c2bcb847af7e9265b33f6bfc"] - Link: ['; rel="prev"'] + ETag: [W/"62b2d456f18018a2b00ab285296a177e"] + Link: ['; rel="prev"'] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -141,8 +141,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [f76e15ce-e515-45c9-96c3-92f7bd90fa99] - X-Runtime: ['0.053463'] + X-Request-Id: [56c1c3a0-18cd-4f4f-8342-d76766c38f68] + X-Runtime: ['0.036450'] X-XSS-Protection: [1; mode=block] content-length: ['551'] status: {code: 200, message: OK} @@ -162,7 +162,7 @@ interactions: headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"c1bd0e2902322c7b40156adc012ff28e"] + ETag: [W/"aad57287d0aae27aee223c4b2cd56a37"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -170,8 +170,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [07363229-165e-43e5-8f91-32d7fba50802] - X-Runtime: ['0.082557'] + X-Request-Id: [d1bd3ba6-3c6f-4d2d-92ef-8ad50367f4fa] + X-Runtime: ['0.071916'] X-XSS-Protection: [1; mode=block] content-length: ['175'] status: {code: 200, message: OK} @@ -184,13 +184,13 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/lists/11/accounts + uri: http://localhost:3000/api/v1/lists/16/accounts response: body: {string: '[]'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"f82743b7a0062bbc98545212015cc152"] + ETag: [W/"6e1c9e2391ff741ca248e8e79afdb372"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -198,19 +198,19 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [db5b3eaa-19eb-42c2-8944-955f2ea1009a] - X-Runtime: ['0.052515'] + X-Request-Id: [6fae0a25-e32f-448e-af4d-1d995fcd19fb] + X-Runtime: ['0.028235'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} - request: - body: reblogs=True&id=1 + body: reblogs=1&id=1 headers: Accept: ['*/*'] Accept-Encoding: ['gzip, deflate'] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] - Content-Length: ['17'] + Content-Length: ['14'] Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: POST @@ -220,7 +220,7 @@ interactions: headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"8b9b4c18fc17527693bdad489048280a"] + ETag: [W/"e6d1a4d0b4c63bc211f53f07521e53f9"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -228,8 +228,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [ec06d458-e3c1-42b2-ada8-c8f9bb3dc5b9] - X-Runtime: ['0.134772'] + X-Request-Id: [3bc55c29-5799-49d0-8315-e3efa6fa488e] + X-Runtime: ['0.117992'] X-XSS-Protection: [1; mode=block] content-length: ['173'] status: {code: 200, message: OK} @@ -244,13 +244,13 @@ interactions: Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: POST - uri: http://localhost:3000/api/v1/lists/11/accounts + uri: http://localhost:3000/api/v1/lists/16/accounts response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"0cdb2e7c6eb5550ff52103826ed9e2cd"] + ETag: [W/"7c50305199ecfdfb56aa3896291ad357"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -258,8 +258,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [1dbf14ec-bd46-4d0c-a05f-e467cedf202f] - X-Runtime: ['0.061339'] + X-Request-Id: [335e6bcc-3d24-4135-889d-80de7004b292] + X-Runtime: ['0.078046'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -272,14 +272,14 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/lists/11/accounts + uri: http://localhost:3000/api/v1/lists/16/accounts response: - 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":67,"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":83,"emojis":[],"fields":[]}]'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"3e75598a9b305d16f2618ab63ca1d6ad"] - Link: ['; rel="prev"'] + ETag: [W/"a8059cb31f57d484a02559a0554b4892"] + Link: ['; rel="prev"'] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -287,8 +287,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [226a577e-da14-4704-9dbc-030e01583697] - X-Runtime: ['0.041821'] + X-Request-Id: [0918b8dc-ab7a-4a5f-8cce-c36f46d117d6] + X-Runtime: ['0.056222'] X-XSS-Protection: [1; mode=block] content-length: ['551'] status: {code: 200, message: OK} @@ -303,13 +303,13 @@ interactions: Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: DELETE - uri: http://localhost:3000/api/v1/lists/11/accounts + uri: http://localhost:3000/api/v1/lists/16/accounts response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"0cdb2e7c6eb5550ff52103826ed9e2cd"] + ETag: [W/"7c50305199ecfdfb56aa3896291ad357"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -317,8 +317,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [00b2aa70-ee0c-49e9-a9d4-8830f70a010d] - X-Runtime: ['0.056654'] + X-Request-Id: [914a133a-a710-4e35-9c6b-cf7a0c8d5a1f] + X-Runtime: ['0.074748'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -331,13 +331,13 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/lists/11/accounts + uri: http://localhost:3000/api/v1/lists/16/accounts response: body: {string: '[]'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"6fddf1677be1263a4a2fd127d789d19a"] + ETag: [W/"b55fc74f07cbe5934774cd4625d649d0"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -345,8 +345,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [6cf79d0c-2111-4260-a813-7584129f2ed5] - X-Runtime: ['0.047343'] + X-Request-Id: [41a683e4-fc71-4e96-9d92-97f0a01db9f6] + X-Runtime: ['0.045815'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -366,7 +366,7 @@ interactions: headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"72b6665162a1eb117de3887134c94c6d"] + ETag: [W/"7caae68836c3f3de747a26f4992f14d9"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -374,8 +374,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [0c0227f0-d6d0-4326-9fbd-609347c580cc] - X-Runtime: ['0.096583'] + X-Request-Id: [7e6499ec-fb54-4c76-ab02-5faa886a2179] + X-Runtime: ['0.113259'] X-XSS-Protection: [1; mode=block] content-length: ['175'] status: {code: 200, message: OK} @@ -389,13 +389,13 @@ interactions: Content-Length: ['0'] User-Agent: [python-requests/2.18.4] method: DELETE - uri: http://localhost:3000/api/v1/lists/11 + uri: http://localhost:3000/api/v1/lists/16 response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"0cdb2e7c6eb5550ff52103826ed9e2cd"] + ETag: [W/"7c50305199ecfdfb56aa3896291ad357"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -403,8 +403,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [4dd258a5-af4e-403e-ac35-3703e6428f76] - X-Runtime: ['0.064121'] + X-Request-Id: [292e1cc8-90a7-492d-acb5-93f2c82eb835] + X-Runtime: ['0.105068'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} -- cgit v1.2.3