diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-13 18:39:56 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-13 18:39:56 +0200 |
commit | 5215c2242dd7b87418a7c10781c2b10b35d86f46 (patch) | |
tree | 9164c3963424cc149ddd7e61561470f27f5b817a /tests/cassettes/test_date_hook.yaml | |
parent | 0e00fced99976d74e972a3c9ca5b762697840a33 (diff) | |
download | mastodon.py-5215c2242dd7b87418a7c10781c2b10b35d86f46.tar.gz |
Fix some things in streaming and admin API for 3.3.0 support
Diffstat (limited to 'tests/cassettes/test_date_hook.yaml')
-rw-r--r-- | tests/cassettes/test_date_hook.yaml | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/tests/cassettes/test_date_hook.yaml b/tests/cassettes/test_date_hook.yaml index 7f60660..26f2a03 100644 --- a/tests/cassettes/test_date_hook.yaml +++ b/tests/cassettes/test_date_hook.yaml | |||
@@ -20,17 +20,17 @@ interactions: | |||
20 | uri: http://localhost:3000/api/v1/statuses | 20 | uri: http://localhost:3000/api/v1/statuses |
21 | response: | 21 | response: |
22 | body: | 22 | body: |
23 | string: '{"id":"109336904495893107","created_at":"2022-11-13T14:12:42.450Z","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/109336904495893107","url":"http://localhost:3000/@mastodonpy_test/109336904495893107","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 23 | string: '{"id":"109337445227760648","created_at":"2022-11-13T16:30:13.364Z","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/109337445227760648","url":"http://localhost:3000/@mastodonpy_test/109337445227760648","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
24 | test suite","website":null},"account":{"id":"109336899193569236","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 24 | test suite","website":null},"account":{"id":"109337440686176140","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
25 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI | 25 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI |
26 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","followers_count":0,"following_count":0,"statuses_count":6,"last_status_at":"2022-11-13","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}' | 26 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","header":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","followers_count":0,"following_count":0,"statuses_count":6,"last_status_at":"2022-11-13","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}' |
27 | headers: | 27 | headers: |
28 | Cache-Control: | 28 | Cache-Control: |
29 | - no-store | 29 | - no-store |
30 | Content-Security-Policy: | 30 | Content-Security-Policy: |
31 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 31 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
32 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 32 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
33 | style-src ''self'' http://localhost:3000 ''nonce-t5yDvmj2tnDqwjON0D/gOg==''; | 33 | style-src ''self'' http://localhost:3000 ''nonce-NcmnnUZDe5BlNiYY4nOpjQ==''; |
34 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 34 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
35 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 35 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
36 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 36 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -40,7 +40,7 @@ interactions: | |||
40 | Content-Type: | 40 | Content-Type: |
41 | - application/json; charset=utf-8 | 41 | - application/json; charset=utf-8 |
42 | ETag: | 42 | ETag: |
43 | - W/"8db46eea6a8908762a60e148f465b016" | 43 | - W/"65beb79c122cf7d4661a49b9ba3d09ba" |
44 | Referrer-Policy: | 44 | Referrer-Policy: |
45 | - strict-origin-when-cross-origin | 45 | - strict-origin-when-cross-origin |
46 | Transfer-Encoding: | 46 | Transfer-Encoding: |
@@ -58,13 +58,13 @@ interactions: | |||
58 | X-RateLimit-Limit: | 58 | X-RateLimit-Limit: |
59 | - '300' | 59 | - '300' |
60 | X-RateLimit-Remaining: | 60 | X-RateLimit-Remaining: |
61 | - '289' | 61 | - '287' |
62 | X-RateLimit-Reset: | 62 | X-RateLimit-Reset: |
63 | - '2022-11-13T15:00:00.469749Z' | 63 | - '2022-11-13T18:00:00.384350Z' |
64 | X-Request-Id: | 64 | X-Request-Id: |
65 | - 1d63bbb8-9ef3-453a-8d17-9e00056df26f | 65 | - 700b7a04-0c88-47f3-b634-93ef1756d549 |
66 | X-Runtime: | 66 | X-Runtime: |
67 | - '0.031388' | 67 | - '0.031356' |
68 | X-XSS-Protection: | 68 | X-XSS-Protection: |
69 | - 1; mode=block | 69 | - 1; mode=block |
70 | status: | 70 | status: |
@@ -86,20 +86,20 @@ interactions: | |||
86 | User-Agent: | 86 | User-Agent: |
87 | - tests/v311 | 87 | - tests/v311 |
88 | method: DELETE | 88 | method: DELETE |
89 | uri: http://localhost:3000/api/v1/statuses/109336904495893107 | 89 | uri: http://localhost:3000/api/v1/statuses/109337445227760648 |
90 | response: | 90 | response: |
91 | body: | 91 | body: |
92 | string: '{"id":"109336904495893107","created_at":"2022-11-13T14:12:42.450Z","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/109336904495893107","url":"http://localhost:3000/@mastodonpy_test/109336904495893107","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Toot!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 92 | string: '{"id":"109337445227760648","created_at":"2022-11-13T16:30:13.364Z","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/109337445227760648","url":"http://localhost:3000/@mastodonpy_test/109337445227760648","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Toot!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
93 | test suite","website":null},"account":{"id":"109336899193569236","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 93 | test suite","website":null},"account":{"id":"109337440686176140","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
94 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI | 94 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI |
95 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","followers_count":0,"following_count":0,"statuses_count":5,"last_status_at":"2022-11-13","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}' | 95 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","header":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","followers_count":0,"following_count":0,"statuses_count":5,"last_status_at":"2022-11-13","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}' |
96 | headers: | 96 | headers: |
97 | Cache-Control: | 97 | Cache-Control: |
98 | - no-store | 98 | - no-store |
99 | Content-Security-Policy: | 99 | Content-Security-Policy: |
100 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 100 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
101 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 101 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
102 | style-src ''self'' http://localhost:3000 ''nonce-zx6gz/lH9CiK9uB4eUT9MA==''; | 102 | style-src ''self'' http://localhost:3000 ''nonce-cEr+5rzV3MrjJ2Whi5644g==''; |
103 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 103 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
104 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 104 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
105 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 105 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -109,7 +109,7 @@ interactions: | |||
109 | Content-Type: | 109 | Content-Type: |
110 | - application/json; charset=utf-8 | 110 | - application/json; charset=utf-8 |
111 | ETag: | 111 | ETag: |
112 | - W/"33117a5fea5b366d248de3f587b688e9" | 112 | - W/"6c19ed1c51883f586f76ff212406d6b0" |
113 | Referrer-Policy: | 113 | Referrer-Policy: |
114 | - strict-origin-when-cross-origin | 114 | - strict-origin-when-cross-origin |
115 | Transfer-Encoding: | 115 | Transfer-Encoding: |
@@ -125,9 +125,9 @@ interactions: | |||
125 | X-Permitted-Cross-Domain-Policies: | 125 | X-Permitted-Cross-Domain-Policies: |
126 | - none | 126 | - none |
127 | X-Request-Id: | 127 | X-Request-Id: |
128 | - 0da6018b-c7d7-4a8f-a299-24714bae0770 | 128 | - 31b58e13-dbcc-4b73-a7f3-29d839a7bdb3 |
129 | X-Runtime: | 129 | X-Runtime: |
130 | - '0.025857' | 130 | - '0.023941' |
131 | X-XSS-Protection: | 131 | X-XSS-Protection: |
132 | - 1; mode=block | 132 | - 1; mode=block |
133 | status: | 133 | status: |