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 --- tests/cassettes/test_scheduled_status.yaml | 84 +++++++++++++++--------------- 1 file changed, 42 insertions(+), 42 deletions(-) (limited to 'tests/cassettes/test_scheduled_status.yaml') diff --git a/tests/cassettes/test_scheduled_status.yaml b/tests/cassettes/test_scheduled_status.yaml index 77bdd5f..76020a6 100644 --- a/tests/cassettes/test_scheduled_status.yaml +++ b/tests/cassettes/test_scheduled_status.yaml @@ -28,7 +28,7 @@ interactions: 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-vD6FWKbrpk5ITXIs4Js+MQ==''; + style-src ''self'' http://localhost:3000 ''nonce-OwBfr8db8tLFtZH2jkCH1A==''; 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 @@ -58,11 +58,11 @@ interactions: X-RateLimit-Remaining: - '199' X-RateLimit-Reset: - - '2022-11-21T21:00:00.165796Z' + - '2022-12-01T21:00:00.171843Z' X-Request-Id: - - 5e70bb19-608f-4977-85c8-0ff8c3f2ed3e + - 97c0ac91-e8cb-4b0e-a258-be9134bccd67 X-Runtime: - - '0.027874' + - '0.033559' X-XSS-Protection: - 1; mode=block status: @@ -97,7 +97,7 @@ interactions: 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-vKydELac7D+6Xt+mJ1YI/Q==''; + style-src ''self'' http://localhost:3000 ''nonce-3yLyIAcyuTtVOkAeVZ0K+w==''; 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 @@ -123,9 +123,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 1126b5fe-72af-431b-8770-cb423303d283 + - c54b108a-b4b5-4cd4-abe4-4efaa084d39c X-Runtime: - - '0.015954' + - '0.018593' X-XSS-Protection: - 1; mode=block status: @@ -156,7 +156,7 @@ interactions: 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-J5QERivD9BkGWlqpQm+blw==''; + style-src ''self'' http://localhost:3000 ''nonce-pWl7vttp6BXf4Pv6Jt1X4A==''; 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 @@ -184,9 +184,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 7ba1db46-ab08-4b5a-8b98-75382d473729 + - aeec7cc6-b7d7-43aa-8616-d3393230b9ea X-Runtime: - - '0.009545' + - '0.009642' X-XSS-Protection: - 1; mode=block status: @@ -217,7 +217,7 @@ interactions: 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-y0R6XcmAOoVr1EgeTjF3/Q==''; + style-src ''self'' http://localhost:3000 ''nonce-24AhKE3tz/gZc/SMabOH7g==''; 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 @@ -243,9 +243,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 2c082abf-1e70-49c1-b655-b9d028ea94b8 + - 60a44f37-1139-48d0-91ab-240fa3b54a24 X-Runtime: - - '0.009165' + - '0.008823' X-XSS-Protection: - 1; mode=block status: @@ -277,7 +277,7 @@ interactions: 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-6Cq1sbwBEXGUFXu80USzEA==''; + style-src ''self'' http://localhost:3000 ''nonce-+p6Eu5hZZ447IMGouj9OPg==''; 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 @@ -303,9 +303,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - de78112e-b037-4d86-b67e-24cb0346abcc + - fee81114-81b3-4931-ba33-f600f4b0a819 X-Runtime: - - '0.013551' + - '0.012979' X-XSS-Protection: - 1; mode=block status: @@ -335,7 +335,7 @@ interactions: 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-PL7XG+98RG6QXmqKmCVqTQ==''; + style-src ''self'' http://localhost:3000 ''nonce-+WqVxhZRALh/lG7IZiqP1g==''; 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 @@ -361,16 +361,16 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 19c4d32d-113a-4691-853d-5bc2cf3b2716 + - a8334736-bd97-4622-9d61-d864ecbb377e X-Runtime: - - '0.008872' + - '0.010050' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK - request: - body: status=please+ensure+adequate+headroom&scheduled_at=2022-11-21T20%3A26%3A18%2B00%3A00 + body: status=please+ensure+adequate+headroom&scheduled_at=2022-12-01T19%3A48%3A41%2B00%3A00 headers: Accept: - '*/*' @@ -390,18 +390,18 @@ interactions: uri: http://localhost:3000/api/v1/statuses response: body: - string: '{"id":"109383671694003672","created_at":"2022-11-21T20:26:13.262Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109383671694003672","url":"http://localhost:3000/@mastodonpy_test/109383671694003672","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eplease + string: '{"id":"109440146884030545","created_at":"2022-12-01T19:48:36.274Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109440146884030545","url":"http://localhost:3000/@mastodonpy_test/109440146884030545","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eplease ensure adequate headroom\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py - test suite","website":null},"account":{"id":"109383664973470793","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John - Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"\u003cp\u003eI - walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","header":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","followers_count":0,"following_count":0,"statuses_count":13,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' + test suite","website":null},"account":{"id":"109440137734600341","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John + Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-12-01T00:00:00.000Z","note":"\u003cp\u003eI + walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/440/137/734/600/341/original/1fa6adb0173e410e.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/440/137/734/600/341/original/1fa6adb0173e410e.jpg","header":"http://localhost:3000/system/accounts/headers/109/440/137/734/600/341/original/96de51cc44c4a5d9.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/440/137/734/600/341/original/96de51cc44c4a5d9.jpg","followers_count":0,"following_count":0,"statuses_count":12,"last_status_at":"2022-12-01","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' 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-S3CP4pGmDICbOAVlf9u5IQ==''; + style-src ''self'' http://localhost:3000 ''nonce-oEnYJIqiBJSKnqasazihiA==''; 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 @@ -411,7 +411,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"a35f0898bad748b46af078538e62565d" + - W/"c35da0a685dd5011c8496f0fc7ccfc34" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -431,11 +431,11 @@ interactions: X-RateLimit-Remaining: - '198' X-RateLimit-Reset: - - '2022-11-21T21:00:00.284604Z' + - '2022-12-01T21:00:00.297799Z' X-Request-Id: - - e59168b0-36fb-4f87-8184-fdf2af320fd3 + - 3e3eab43-5c84-46f5-abf9-8a0af8e41741 X-Runtime: - - '0.036563' + - '0.038588' X-XSS-Protection: - 1; mode=block status: @@ -458,18 +458,18 @@ interactions: uri: http://localhost:3000/api/v1/timelines/home response: body: - string: '[{"id":"109383671694003672","created_at":"2022-11-21T20:26:13.262Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109383671694003672","url":"http://localhost:3000/@mastodonpy_test/109383671694003672","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eplease + string: '[{"id":"109440146884030545","created_at":"2022-12-01T19:48:36.274Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109440146884030545","url":"http://localhost:3000/@mastodonpy_test/109440146884030545","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eplease ensure adequate headroom\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py - test suite","website":null},"account":{"id":"109383664973470793","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John - Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"\u003cp\u003eI - walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","header":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","followers_count":0,"following_count":0,"statuses_count":3,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}]' + test suite","website":null},"account":{"id":"109440137734600341","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John + Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-12-01T00:00:00.000Z","note":"\u003cp\u003eI + walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/440/137/734/600/341/original/1fa6adb0173e410e.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/440/137/734/600/341/original/1fa6adb0173e410e.jpg","header":"http://localhost:3000/system/accounts/headers/109/440/137/734/600/341/original/96de51cc44c4a5d9.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/440/137/734/600/341/original/96de51cc44c4a5d9.jpg","followers_count":0,"following_count":0,"statuses_count":3,"last_status_at":"2022-12-01","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}]' 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-6nmRqxvrDTb4nOsXICdMww==''; + style-src ''self'' http://localhost:3000 ''nonce-uqDBs75J5odLIwISuE/a1g==''; 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 @@ -479,10 +479,10 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"2756470a81ec06982cd079845fb918cc" + - W/"d989c425d22d831f9545ae180bbed449" Link: - - ; rel="next", - ; rel="prev" + - ; rel="next", + ; rel="prev" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -498,9 +498,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 85c87e21-9d84-48d0-a48d-27b4714a5cd7 + - cd05f94c-86fb-4c95-b785-e808fede943a X-Runtime: - - '0.022592' + - '0.023481' X-XSS-Protection: - 1; mode=block status: @@ -530,7 +530,7 @@ interactions: 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-3ebpZYGpq8tkVrKv/DUx+Q==''; + style-src ''self'' http://localhost:3000 ''nonce-ZHNcYjce7HlejDugAyYCIw==''; 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 @@ -556,9 +556,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 799f0d2f-5582-41e0-ac9a-c6dc831905e7 + - 27bc14fa-d653-40a8-8924-47ce03dfe513 X-Runtime: - - '0.007972' + - '0.007920' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3