From 0159bd7caecc9c3311f5f18869321b564f05ac89 Mon Sep 17 00:00:00 2001 From: halcy Date: Thu, 1 Dec 2022 22:07:42 +0200 Subject: commit new set of tests --- .../cassettes/test_account_familiar_followers.yaml | 84 +++++++++++----------- 1 file changed, 42 insertions(+), 42 deletions(-) (limited to 'tests/cassettes/test_account_familiar_followers.yaml') diff --git a/tests/cassettes/test_account_familiar_followers.yaml b/tests/cassettes/test_account_familiar_followers.yaml index 5f290e9..45355b5 100644 --- a/tests/cassettes/test_account_familiar_followers.yaml +++ b/tests/cassettes/test_account_familiar_followers.yaml @@ -16,14 +16,14 @@ interactions: uri: http://localhost:3000/api/v1/accounts/verify_credentials response: body: - string: '{"id":"109411885671340064","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-26T00:00:00.000Z","note":"","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,"last_status_at":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"3","name":"Owner","permissions":"1048575","color":"","highlighted":true}}' + string: '{"id":"109440137501589086","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-12-01T00:00:00.000Z","note":"","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,"last_status_at":"2022-12-01","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"3","name":"Owner","permissions":"1048575","color":"","highlighted":true}}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-HsglxmIP4X9/7gzWNyzBNQ==''; + style-src ''self'' http://localhost:3000 ''nonce-Lc3G7g1OdlXOl9XUtENmYw==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -33,7 +33,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"a92dcb08b6f874d680c45eede3cca2ec" + - W/"dd450e6d64e656efa28c76c7d7b7eef0" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -49,16 +49,16 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 04a9eb59-b11c-4188-b958-d7dfeb53ae6d + - e8ecc25a-7c0e-4bff-b7a1-45f193f1f497 X-Runtime: - - '0.029692' + - '0.013654' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK - request: - body: '{"id": [109411885671340064]}' + body: '{"id": [109440137501589086]}' headers: Accept: - '*/*' @@ -78,14 +78,14 @@ interactions: uri: http://localhost:3000/api/v1/accounts/familiar_followers response: body: - string: '[{"id":"109411885671340064","accounts":[]}]' + string: '[{"id":"109440137501589086","accounts":[]}]' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-5j9VM0TO7+8xoit9RncpvA==''; + style-src ''self'' http://localhost:3000 ''nonce-HxyFlzVk3nXlLh0UhGfmpQ==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -95,7 +95,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"b97f7c3306068f25d5289e9c8bdd190b" + - W/"98bbd06ed0b98945f27e67e086361093" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -111,9 +111,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 17dcfa85-da42-4267-b758-06852ec1d5ad + - 61e69b80-3f10-4804-bee8-5c354eb4c7e0 X-Runtime: - - '0.036562' + - '0.014117' X-XSS-Protection: - 1; mode=block status: @@ -136,14 +136,14 @@ interactions: uri: http://localhost:3000/api/v1/accounts/verify_credentials response: body: - string: '{"id":"109411885671340064","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-26T00:00:00.000Z","note":"","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,"last_status_at":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"3","name":"Owner","permissions":"1048575","color":"","highlighted":true}}' + string: '{"id":"109440137501589086","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-12-01T00:00:00.000Z","note":"","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,"last_status_at":"2022-12-01","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"3","name":"Owner","permissions":"1048575","color":"","highlighted":true}}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-AqTmg/2+pH5lHD7Nqp5zvA==''; + style-src ''self'' http://localhost:3000 ''nonce-Q/jBFcM2GEe7haMf62S+Og==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -153,7 +153,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"a92dcb08b6f874d680c45eede3cca2ec" + - W/"dd450e6d64e656efa28c76c7d7b7eef0" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -169,9 +169,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - e219b468-eea5-4147-b8b6-f529b78f46a7 + - b4a56964-1ad2-454c-957c-7f074b92c154 X-Runtime: - - '0.019573' + - '0.012763' X-XSS-Protection: - 1; mode=block status: @@ -194,14 +194,14 @@ interactions: uri: http://localhost:3000/api/v1/accounts/verify_credentials response: body: - string: '{"id":"109411885671340064","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-26T00:00:00.000Z","note":"","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,"last_status_at":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"3","name":"Owner","permissions":"1048575","color":"","highlighted":true}}' + string: '{"id":"109440137501589086","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-12-01T00:00:00.000Z","note":"","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,"last_status_at":"2022-12-01","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"3","name":"Owner","permissions":"1048575","color":"","highlighted":true}}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-pEDEgC21lzY+5lANf9Y82A==''; + style-src ''self'' http://localhost:3000 ''nonce-otxlIcVIQE5mcVEExYFKsw==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -211,7 +211,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"a92dcb08b6f874d680c45eede3cca2ec" + - W/"dd450e6d64e656efa28c76c7d7b7eef0" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -227,9 +227,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - cc4eac3a-7f0b-4a9f-9e1e-13746da6e32e + - 9fcadea4-9796-4823-964e-86edeadcf9b4 X-Runtime: - - '0.016836' + - '0.013587' X-XSS-Protection: - 1; mode=block status: @@ -252,14 +252,14 @@ interactions: uri: http://localhost:3000/api/v1/accounts/verify_credentials response: body: - string: '{"id":"109411886050231694","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-26T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"last_status_at":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}' + string: '{"id":"109440137849431891","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-12-01T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"last_status_at":"2022-12-01","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-xQuOD8nr/iV0EOtUeqpFzw==''; + style-src ''self'' http://localhost:3000 ''nonce-ssJPqQYopa0t7sKGZqC/1A==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -269,7 +269,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"9b2f5aee7759c56dec7b8052fd486107" + - W/"602a123ba9fa2adef21e870cf4e46d79" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -285,16 +285,16 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 4b007953-7d3a-4ed4-9ec1-c73b57593373 + - 1458c431-7389-4bbd-90f8-0e731ec1bd12 X-Runtime: - - '0.068161' + - '0.013483' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK - request: - body: '{"id": [109411885671340064, 109411886050231694]}' + body: '{"id": [109440137501589086, 109440137849431891]}' headers: Accept: - '*/*' @@ -314,14 +314,14 @@ interactions: uri: http://localhost:3000/api/v1/accounts/familiar_followers response: body: - string: '[{"id":"109411885671340064","accounts":[]},{"id":"109411886050231694","accounts":[]}]' + string: '[{"id":"109440137501589086","accounts":[]},{"id":"109440137849431891","accounts":[]}]' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-0rxKBZJV0bQR4XvobxIHsA==''; + style-src ''self'' http://localhost:3000 ''nonce-hS/ziAn25S8n0S1DQ10FGw==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -331,7 +331,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"7cd1229a63b01fb300cbaaa957e53b53" + - W/"5332f7dc53643f396aff1bc06e589c4d" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -347,9 +347,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 24a35cec-aded-4710-9c69-442a5b49852b + - babee9bc-04db-482e-aa64-108cefd994a4 X-Runtime: - - '0.013945' + - '0.008871' X-XSS-Protection: - 1; mode=block status: @@ -372,14 +372,14 @@ interactions: uri: http://localhost:3000/api/v1/accounts/verify_credentials response: body: - string: '{"id":"109411885671340064","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-26T00:00:00.000Z","note":"","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,"last_status_at":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"3","name":"Owner","permissions":"1048575","color":"","highlighted":true}}' + string: '{"id":"109440137501589086","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-12-01T00:00:00.000Z","note":"","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,"last_status_at":"2022-12-01","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"3","name":"Owner","permissions":"1048575","color":"","highlighted":true}}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-g7eI+n5KW3K5e9BunAxYDw==''; + style-src ''self'' http://localhost:3000 ''nonce-938/6gu1XbCItwWPi441pA==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -389,7 +389,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"a92dcb08b6f874d680c45eede3cca2ec" + - W/"dd450e6d64e656efa28c76c7d7b7eef0" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -405,9 +405,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 135538ed-c3cc-4971-9dfc-a76caf6e9c49 + - 8a57c5ed-1f5b-4f26-a093-4b0a93b08b0b X-Runtime: - - '0.017874' + - '0.014361' X-XSS-Protection: - 1; mode=block status: @@ -430,14 +430,14 @@ interactions: uri: http://localhost:3000/api/v1/accounts/verify_credentials response: body: - string: '{"id":"109411886050231694","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-26T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"last_status_at":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}' + string: '{"id":"109440137849431891","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-12-01T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"last_status_at":"2022-12-01","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-1ZPdVwRxFGNenU8svTXCJw==''; + style-src ''self'' http://localhost:3000 ''nonce-1TN7hRTHARFYV98F2wMKZw==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -447,7 +447,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"9b2f5aee7759c56dec7b8052fd486107" + - W/"602a123ba9fa2adef21e870cf4e46d79" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -463,9 +463,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 57c760f3-1384-464d-a8e1-93e054a2076c + - 76c7ebaa-6d31-4b15-815a-f760bda95a71 X-Runtime: - - '0.018550' + - '0.019401' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3