aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-24 01:53:34 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-24 01:53:34 +0200
commitf81978a39c7ad2124951806cd66fcbadffc16d59 (patch)
treed55551512f179b15f8a96e114d537663a322b7a3 /tests/cassettes/test_notifications_mentions_only.yaml
parent066d543109496c732f6c05bfbe3418d30b648f42 (diff)
downloadmastodon.py-f81978a39c7ad2124951806cd66fcbadffc16d59.tar.gz
Add notification tests
Diffstat (limited to 'tests/cassettes/test_notifications_mentions_only.yaml')
-rw-r--r--tests/cassettes/test_notifications_mentions_only.yaml296
1 files changed, 296 insertions, 0 deletions
diff --git a/tests/cassettes/test_notifications_mentions_only.yaml b/tests/cassettes/test_notifications_mentions_only.yaml
new file mode 100644
index 0000000..c219b48
--- /dev/null
+++ b/tests/cassettes/test_notifications_mentions_only.yaml
@@ -0,0 +1,296 @@
1interactions:
2- request:
3 body: status=%40mastodonpy_test+hello%21
4 headers:
5 Accept:
6 - '*/*'
7 Accept-Encoding:
8 - gzip, deflate
9 Authorization:
10 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2
11 Connection:
12 - keep-alive
13 Content-Length:
14 - '34'
15 Content-Type:
16 - application/x-www-form-urlencoded
17 User-Agent:
18 - tests/v311
19 method: POST
20 uri: http://localhost:3000/api/v1/statuses
21 response:
22 body:
23 string: '{"id":"109395789871949995","created_at":"2022-11-23T23:48:01.983Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109395789871949995","url":"http://localhost:3000/@admin/109395789871949995","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003e\u003cspan
24 class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
25 class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
26 hello!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
27 test suite","website":null},"account":{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'
28 headers:
29 Cache-Control:
30 - no-store
31 Content-Security-Policy:
32 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
33 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
34 style-src ''self'' http://localhost:3000 ''nonce-OtGB+BfGWae4vvV2I9CldA=='';
35 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
36 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
37 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
38 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
39 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
40 worker-src ''self'' blob: http://localhost:3000'
41 Content-Type:
42 - application/json; charset=utf-8
43 ETag:
44 - W/"4819b96b6b2ad7e289713a33edda1e88"
45 Referrer-Policy:
46 - strict-origin-when-cross-origin
47 Transfer-Encoding:
48 - chunked
49 Vary:
50 - Accept, Origin
51 X-Content-Type-Options:
52 - nosniff
53 X-Download-Options:
54 - noopen
55 X-Frame-Options:
56 - SAMEORIGIN
57 X-Permitted-Cross-Domain-Policies:
58 - none
59 X-RateLimit-Limit:
60 - '300'
61 X-RateLimit-Remaining:
62 - '296'
63 X-RateLimit-Reset:
64 - '2022-11-24T00:00:00.134065Z'
65 X-Request-Id:
66 - e036753d-947d-40d1-9b86-81d0e80cefee
67 X-Runtime:
68 - '0.184701'
69 X-XSS-Protection:
70 - 1; mode=block
71 status:
72 code: 200
73 message: OK
74- request:
75 body: null
76 headers:
77 Accept:
78 - '*/*'
79 Accept-Encoding:
80 - gzip, deflate
81 Authorization:
82 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
83 Connection:
84 - keep-alive
85 User-Agent:
86 - tests/v311
87 method: GET
88 uri: http://localhost:3000/api/v1/notifications?types%5B%5D=mention
89 response:
90 body:
91 string: '[{"id":"21","type":"mention","created_at":"2022-11-23T23:48:02.203Z","account":{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109395789871949995","created_at":"2022-11-23T23:48:01.983Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109395789871949995","url":"http://localhost:3000/@admin/109395789871949995","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan
92 class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
93 class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
94 hello!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
95 test suite","website":null},"account":{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"17","type":"mention","created_at":"2022-11-21T23:06:21.025Z","account":{"id":"109384260135049902","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00: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,"emojis":[],"fields":[]},"status":{"id":"109384301340129379","created_at":"2022-11-21T23:06:20.898Z","in_reply_to_id":"109384301270458447","in_reply_to_account_id":"109384260022953307","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109384301340129379","url":"http://localhost:3000/@mastodonpy_test_2/109384301340129379","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan
96 class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
97 class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
98 pssssst!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
99 test suite","website":null},"account":{"id":"109384260135049902","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00: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,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"15","type":"mention","created_at":"2022-11-21T23:06:20.086Z","account":{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109384301260589758","created_at":"2022-11-21T23:06:19.685Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109384301260589758","url":"http://localhost:3000/@admin/109384301260589758","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan
100 class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
101 class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
102 beep beep I\u0026#39;m a jeep\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
103 test suite","website":null},"account":{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"14","type":"mention","created_at":"2022-11-21T23:01:30.098Z","account":{"id":"109384260135049902","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00: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,"emojis":[],"fields":[]},"status":{"id":"109384282227323431","created_at":"2022-11-21T23:01:29.260Z","in_reply_to_id":"109384282224216103","in_reply_to_account_id":"109384260022953307","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109384282227323431","url":"http://localhost:3000/@mastodonpy_test_2/109384282227323431","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan
104 class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
105 class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
106 pssssst!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
107 test suite","website":null},"account":{"id":"109384260135049902","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00: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,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"12","type":"mention","created_at":"2022-11-21T23:01:29.815Z","account":{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109384282218092087","created_at":"2022-11-21T23:01:29.120Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109384282218092087","url":"http://localhost:3000/@admin/109384282218092087","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":"2022-11-21T23:01:31.316Z","favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan
108 class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
109 class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
110 beep beep I\u0026#39;m a giraffe\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
111 test suite","website":null},"account":{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"11","type":"mention","created_at":"2022-11-21T22:58:20.111Z","account":{"id":"109384260135049902","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00: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,"emojis":[],"fields":[]},"status":{"id":"109384269774042068","created_at":"2022-11-21T22:58:19.239Z","in_reply_to_id":"109384269771231130","in_reply_to_account_id":"109384260022953307","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109384269774042068","url":"http://localhost:3000/@mastodonpy_test_2/109384269774042068","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan
112 class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
113 class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
114 pssssst!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
115 test suite","website":null},"account":{"id":"109384260135049902","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00: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,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"9","type":"mention","created_at":"2022-11-21T22:58:19.933Z","account":{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109384269765215700","created_at":"2022-11-21T22:58:19.105Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109384269765215700","url":"http://localhost:3000/@admin/109384269765215700","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":"2022-11-21T22:58:24.292Z","favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan
116 class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
117 class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
118 beep beep I\u0026#39;m a giraffe\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
119 test suite","website":null},"account":{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"8","type":"mention","created_at":"2022-11-21T22:56:17.313Z","account":{"id":"109384260135049902","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00: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,"emojis":[],"fields":[]},"status":{"id":"109384261733170175","created_at":"2022-11-21T22:56:16.544Z","in_reply_to_id":"109384261729433703","in_reply_to_account_id":"109384260022953307","sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test_2/statuses/109384261733170175","url":"http://localhost:3000/@mastodonpy_test_2/109384261733170175","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan
120 class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
121 class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
122 pssssst!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
123 test suite","website":null},"account":{"id":"109384260135049902","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00: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,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"6","type":"mention","created_at":"2022-11-21T22:56:17.126Z","account":{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109384261718850765","created_at":"2022-11-21T22:56:16.349Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109384261718850765","url":"http://localhost:3000/@admin/109384261718850765","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":"2022-11-21T22:56:21.618Z","favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan
124 class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
125 class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
126 beep beep I\u0026#39;m a giraffe\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
127 test suite","website":null},"account":{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}}]'
128 headers:
129 Cache-Control:
130 - no-store
131 Content-Security-Policy:
132 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
133 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
134 style-src ''self'' http://localhost:3000 ''nonce-+T+kG97ld7qxWUvl9gmznA=='';
135 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
136 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
137 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
138 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
139 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
140 worker-src ''self'' blob: http://localhost:3000'
141 Content-Type:
142 - application/json; charset=utf-8
143 ETag:
144 - W/"8448175d69001115042d64cc4a5e7fa4"
145 Link:
146 - <http://localhost:3000/api/v1/notifications?max_id=6&types%5B%5D=mention>;
147 rel="next", <http://localhost:3000/api/v1/notifications?min_id=21&types%5B%5D=mention>;
148 rel="prev"
149 Referrer-Policy:
150 - strict-origin-when-cross-origin
151 Transfer-Encoding:
152 - chunked
153 Vary:
154 - Accept, Origin
155 X-Content-Type-Options:
156 - nosniff
157 X-Download-Options:
158 - noopen
159 X-Frame-Options:
160 - SAMEORIGIN
161 X-Permitted-Cross-Domain-Policies:
162 - none
163 X-Request-Id:
164 - 2ad126f4-87ca-414a-9f3e-82b7675ed112
165 X-Runtime:
166 - '0.094481'
167 X-XSS-Protection:
168 - 1; mode=block
169 status:
170 code: 200
171 message: OK
172- request:
173 body: null
174 headers:
175 Accept:
176 - '*/*'
177 Accept-Encoding:
178 - gzip, deflate
179 Authorization:
180 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
181 Connection:
182 - keep-alive
183 User-Agent:
184 - tests/v311
185 method: GET
186 uri: http://localhost:3000/api/v1/notifications/21
187 response:
188 body:
189 string: '{"id":"21","type":"mention","created_at":"2022-11-23T23:48:02.203Z","account":{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109395789871949995","created_at":"2022-11-23T23:48:01.983Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109395789871949995","url":"http://localhost:3000/@admin/109395789871949995","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan
190 class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
191 class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
192 hello!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
193 test suite","website":null},"account":{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":9,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}}'
194 headers:
195 Cache-Control:
196 - no-store
197 Content-Security-Policy:
198 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
199 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
200 style-src ''self'' http://localhost:3000 ''nonce-uybBVEaQrAz7fKhZpBplZg=='';
201 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
202 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
203 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
204 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
205 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
206 worker-src ''self'' blob: http://localhost:3000'
207 Content-Type:
208 - application/json; charset=utf-8
209 ETag:
210 - W/"d866fa4990973c5455a13d49e30b146d"
211 Referrer-Policy:
212 - strict-origin-when-cross-origin
213 Transfer-Encoding:
214 - chunked
215 Vary:
216 - Accept, Origin
217 X-Content-Type-Options:
218 - nosniff
219 X-Download-Options:
220 - noopen
221 X-Frame-Options:
222 - SAMEORIGIN
223 X-Permitted-Cross-Domain-Policies:
224 - none
225 X-Request-Id:
226 - 524cc510-4bc8-4963-8f45-0d728394ee7f
227 X-Runtime:
228 - '0.024908'
229 X-XSS-Protection:
230 - 1; mode=block
231 status:
232 code: 200
233 message: OK
234- request:
235 body: null
236 headers:
237 Accept:
238 - '*/*'
239 Accept-Encoding:
240 - gzip, deflate
241 Authorization:
242 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2
243 Connection:
244 - keep-alive
245 Content-Length:
246 - '0'
247 User-Agent:
248 - tests/v311
249 method: DELETE
250 uri: http://localhost:3000/api/v1/statuses/109395789871949995
251 response:
252 body:
253 string: '{"id":"109395789871949995","created_at":"2022-11-23T23:48:01.983Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109395789871949995","url":"http://localhost:3000/@admin/109395789871949995","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"@mastodonpy_test
254 hello!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py test
255 suite","website":null},"account":{"id":"109384259794974437","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":8,"last_status_at":"2022-11-23","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109384260022953307","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'
256 headers:
257 Cache-Control:
258 - no-store
259 Content-Security-Policy:
260 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
261 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
262 style-src ''self'' http://localhost:3000 ''nonce-IJvw8zA4Y14LItWz2dIbCA=='';
263 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
264 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
265 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
266 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
267 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
268 worker-src ''self'' blob: http://localhost:3000'
269 Content-Type:
270 - application/json; charset=utf-8
271 ETag:
272 - W/"14997f44bf86df6d687c824ebb073577"
273 Referrer-Policy:
274 - strict-origin-when-cross-origin
275 Transfer-Encoding:
276 - chunked
277 Vary:
278 - Accept, Origin
279 X-Content-Type-Options:
280 - nosniff
281 X-Download-Options:
282 - noopen
283 X-Frame-Options:
284 - SAMEORIGIN
285 X-Permitted-Cross-Domain-Policies:
286 - none
287 X-Request-Id:
288 - b14404b1-b455-4d01-9903-6fb9510166e0
289 X-Runtime:
290 - '0.029922'
291 X-XSS-Protection:
292 - 1; mode=block
293 status:
294 code: 200
295 message: OK
296version: 1
Powered by cgit v1.2.3 (git 2.41.0)