aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-07 23:11:30 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-07 23:11:30 +0200
commit3277ca777821e76955fb26d80788939a311db9db (patch)
treebef0749a451464d00e59fb3c685e6eb6d69a8a78 /tests/cassettes/test_notifications.yaml
parent33d1e17e2e75884abd6e0a8a3e4a4da388e97e55 (diff)
downloadmastodon.py-3277ca777821e76955fb26d80788939a311db9db.tar.gz
Initial test fixing pass. Four tests still fail.
Diffstat (limited to 'tests/cassettes/test_notifications.yaml')
-rw-r--r--tests/cassettes/test_notifications.yaml327
1 files changed, 227 insertions, 100 deletions
diff --git a/tests/cassettes/test_notifications.yaml b/tests/cassettes/test_notifications.yaml
index b4d35ba..9725dd3 100644
--- a/tests/cassettes/test_notifications.yaml
+++ b/tests/cassettes/test_notifications.yaml
@@ -2,127 +2,254 @@ interactions:
2- request: 2- request:
3 body: status=%40mastodonpy_test+hello%21 3 body: status=%40mastodonpy_test+hello%21
4 headers: 4 headers:
5 Accept: ['*/*'] 5 Accept:
6 Accept-Encoding: ['gzip, deflate'] 6 - '*/*'
7 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] 7 Accept-Encoding:
8 Connection: [keep-alive] 8 - gzip, deflate
9 Content-Length: ['34'] 9 Authorization:
10 Content-Type: [application/x-www-form-urlencoded] 10 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2
11 User-Agent: [python-requests/2.18.4] 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
12 method: POST 19 method: POST
13 uri: http://localhost:3000/api/v1/statuses 20 uri: http://localhost:3000/api/v1/statuses
14 response: 21 response:
15 body: {string: '{"id":"103704148689147390","created_at":"2020-02-22T19:28:49.781Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704148689147390","url":"http://localhost/@admin/103704148689147390","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003e\u003cspan 22 body:
16 class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url 23 string: '{"id":"109304275731620250","created_at":"2022-11-07T19:54:47.019Z","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/109304275731620250","url":"http://localhost:3000/@admin/109304275731620250","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
17 mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e 24 class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
18 hello!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test 25 class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
19 suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'} 26 hello!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
27 test suite","website":null},"account":{"id":"109304268902557892","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00: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":1,"last_status_at":"2022-11-07","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'
20 headers: 28 headers:
21 Cache-Control: ['no-cache, no-store'] 29 Cache-Control:
22 Content-Type: [application/json; charset=utf-8] 30 - no-store
23 Referrer-Policy: [strict-origin-when-cross-origin] 31 Content-Security-Policy:
24 Transfer-Encoding: [chunked] 32 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
25 Vary: ['Accept-Encoding, Origin'] 33 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
26 X-Content-Type-Options: [nosniff] 34 style-src ''self'' http://localhost:3000 ''nonce-zSLoC5Q32sk9vIRq+Prp7A=='';
27 X-Download-Options: [noopen] 35 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
28 X-Frame-Options: [SAMEORIGIN] 36 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
29 X-Permitted-Cross-Domain-Policies: [none] 37 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
30 X-Request-Id: [a722f0a4-49c3-4c8b-95e5-c30caf2242b7] 38 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
31 X-Runtime: ['0.350785'] 39 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
32 X-XSS-Protection: [1; mode=block] 40 worker-src ''self'' blob: http://localhost:3000'
33 content-length: ['1570'] 41 Content-Type:
34 status: {code: 200, message: OK} 42 - application/json; charset=utf-8
43 ETag:
44 - W/"9106a1d344dbbc094a40c28c1cedf3be"
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 - '298'
63 X-RateLimit-Reset:
64 - '2022-11-07T21:00:00.050068Z'
65 X-Request-Id:
66 - 2eeedc8e-4eee-437b-ae62-e6caa7893f8d
67 X-Runtime:
68 - '0.043624'
69 X-XSS-Protection:
70 - 1; mode=block
71 status:
72 code: 200
73 message: OK
35- request: 74- request:
36 body: null 75 body: null
37 headers: 76 headers:
38 Accept: ['*/*'] 77 Accept:
39 Accept-Encoding: ['gzip, deflate'] 78 - '*/*'
40 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] 79 Accept-Encoding:
41 Connection: [keep-alive] 80 - gzip, deflate
42 User-Agent: [python-requests/2.18.4] 81 Authorization:
82 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
83 Connection:
84 - keep-alive
85 User-Agent:
86 - tests/v311
43 method: GET 87 method: GET
44 uri: http://localhost:3000/api/v1/notifications 88 uri: http://localhost:3000/api/v1/notifications
45 response: 89 response:
46 body: {string: '[{"id":"11","type":"mention","created_at":"2020-02-22T19:28:49.998Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"status":{"id":"103704148689147390","created_at":"2020-02-22T19:28:49.781Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704148689147390","url":"http://localhost/@admin/103704148689147390","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan 90 body:
47 class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url 91 string: '[{"id":"6","type":"follow_request","created_at":"2022-11-07T19:54:38.477Z","account":{"id":"109304268902557892","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00: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":1,"last_status_at":"2022-11-07","noindex":false,"emojis":[],"fields":[]}}]'
48 mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
49 hello!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test
50 suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}}]'}
51 headers: 92 headers:
52 Cache-Control: ['no-cache, no-store'] 93 Cache-Control:
53 Content-Type: [application/json; charset=utf-8] 94 - no-store
54 Link: ['<http://localhost:3000/api/v1/notifications?max_id=11>; rel="next", 95 Content-Security-Policy:
55 <http://localhost:3000/api/v1/notifications?min_id=11>; rel="prev"'] 96 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
56 Referrer-Policy: [strict-origin-when-cross-origin] 97 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
57 Transfer-Encoding: [chunked] 98 style-src ''self'' http://localhost:3000 ''nonce-407BmP7FOO/UsK5b5NNrXA=='';
58 Vary: ['Accept-Encoding, Origin'] 99 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
59 X-Content-Type-Options: [nosniff] 100 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
60 X-Download-Options: [noopen] 101 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
61 X-Frame-Options: [SAMEORIGIN] 102 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
62 X-Permitted-Cross-Domain-Policies: [none] 103 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
63 X-Request-Id: [7d6c76c4-9439-4889-a2b4-59f312857afb] 104 worker-src ''self'' blob: http://localhost:3000'
64 X-Runtime: ['0.189276'] 105 Content-Type:
65 X-XSS-Protection: [1; mode=block] 106 - application/json; charset=utf-8
66 content-length: ['2233'] 107 ETag:
67 status: {code: 200, message: OK} 108 - W/"7ba0277d54c9ec55fa8e206c94e7e7c5"
109 Link:
110 - <http://localhost:3000/api/v1/notifications?max_id=6>; rel="next", <http://localhost:3000/api/v1/notifications?min_id=6>;
111 rel="prev"
112 Referrer-Policy:
113 - strict-origin-when-cross-origin
114 Transfer-Encoding:
115 - chunked
116 Vary:
117 - Accept, Origin
118 X-Content-Type-Options:
119 - nosniff
120 X-Download-Options:
121 - noopen
122 X-Frame-Options:
123 - SAMEORIGIN
124 X-Permitted-Cross-Domain-Policies:
125 - none
126 X-Request-Id:
127 - 62c36486-3dc5-45e2-b294-60bc965170c0
128 X-Runtime:
129 - '0.018882'
130 X-XSS-Protection:
131 - 1; mode=block
132 status:
133 code: 200
134 message: OK
68- request: 135- request:
69 body: null 136 body: null
70 headers: 137 headers:
71 Accept: ['*/*'] 138 Accept:
72 Accept-Encoding: ['gzip, deflate'] 139 - '*/*'
73 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] 140 Accept-Encoding:
74 Connection: [keep-alive] 141 - gzip, deflate
75 User-Agent: [python-requests/2.18.4] 142 Authorization:
143 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
144 Connection:
145 - keep-alive
146 User-Agent:
147 - tests/v311
76 method: GET 148 method: GET
77 uri: http://localhost:3000/api/v1/notifications/11 149 uri: http://localhost:3000/api/v1/notifications/6
78 response: 150 response:
79 body: {string: '{"id":"11","type":"mention","created_at":"2020-02-22T19:28:49.998Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"status":{"id":"103704148689147390","created_at":"2020-02-22T19:28:49.781Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704148689147390","url":"http://localhost/@admin/103704148689147390","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan 151 body:
80 class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url 152 string: '{"id":"6","type":"follow_request","created_at":"2022-11-07T19:54:38.477Z","account":{"id":"109304268902557892","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00: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":1,"last_status_at":"2022-11-07","noindex":false,"emojis":[],"fields":[]}}'
81 mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
82 hello!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test
83 suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}}'}
84 headers: 153 headers:
85 Cache-Control: ['no-cache, no-store'] 154 Cache-Control:
86 Content-Type: [application/json; charset=utf-8] 155 - no-store
87 Referrer-Policy: [strict-origin-when-cross-origin] 156 Content-Security-Policy:
88 Transfer-Encoding: [chunked] 157 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
89 Vary: ['Accept-Encoding, Origin'] 158 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
90 X-Content-Type-Options: [nosniff] 159 style-src ''self'' http://localhost:3000 ''nonce-/t5Bi09ywV8jEb7/g6MC7w=='';
91 X-Download-Options: [noopen] 160 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
92 X-Frame-Options: [SAMEORIGIN] 161 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
93 X-Permitted-Cross-Domain-Policies: [none] 162 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
94 X-Request-Id: [dbdc69e1-b000-424e-a7ed-2fe84f3670f4] 163 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
95 X-Runtime: ['0.095420'] 164 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
96 X-XSS-Protection: [1; mode=block] 165 worker-src ''self'' blob: http://localhost:3000'
97 content-length: ['2231'] 166 Content-Type:
98 status: {code: 200, message: OK} 167 - application/json; charset=utf-8
168 ETag:
169 - W/"58f32e98b742a1193c9167f088f61c2a"
170 Referrer-Policy:
171 - strict-origin-when-cross-origin
172 Transfer-Encoding:
173 - chunked
174 Vary:
175 - Accept, Origin
176 X-Content-Type-Options:
177 - nosniff
178 X-Download-Options:
179 - noopen
180 X-Frame-Options:
181 - SAMEORIGIN
182 X-Permitted-Cross-Domain-Policies:
183 - none
184 X-Request-Id:
185 - 64d03c02-3485-4f18-b9ff-cc54b2a214e8
186 X-Runtime:
187 - '0.013038'
188 X-XSS-Protection:
189 - 1; mode=block
190 status:
191 code: 200
192 message: OK
99- request: 193- request:
100 body: null 194 body: null
101 headers: 195 headers:
102 Accept: ['*/*'] 196 Accept:
103 Accept-Encoding: ['gzip, deflate'] 197 - '*/*'
104 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2] 198 Accept-Encoding:
105 Connection: [keep-alive] 199 - gzip, deflate
106 Content-Length: ['0'] 200 Authorization:
107 User-Agent: [python-requests/2.18.4] 201 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2
202 Connection:
203 - keep-alive
204 Content-Length:
205 - '0'
206 User-Agent:
207 - tests/v311
108 method: DELETE 208 method: DELETE
109 uri: http://localhost:3000/api/v1/statuses/103704148689147390 209 uri: http://localhost:3000/api/v1/statuses/109304275731620250
110 response: 210 response:
111 body: {string: '{"id":"103704148689147390","created_at":"2020-02-22T19:28:49.781Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/103704148689147390","url":"http://localhost/@admin/103704148689147390","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"@mastodonpy_test 211 body:
112 hello!","reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2020-02-22","emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'} 212 string: '{"id":"109304275731620250","created_at":"2022-11-07T19:54:47.019Z","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/109304275731620250","url":"http://localhost:3000/@admin/109304275731620250","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
213 hello!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py test
214 suite","website":null},"account":{"id":"109304268902557892","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00: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-11-07","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'
113 headers: 215 headers:
114 Cache-Control: ['no-cache, no-store'] 216 Cache-Control:
115 Content-Type: [application/json; charset=utf-8] 217 - no-store
116 Referrer-Policy: [strict-origin-when-cross-origin] 218 Content-Security-Policy:
117 Transfer-Encoding: [chunked] 219 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
118 Vary: ['Accept-Encoding, Origin'] 220 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
119 X-Content-Type-Options: [nosniff] 221 style-src ''self'' http://localhost:3000 ''nonce-A3h5y1V++macRJqI7vMKEA=='';
120 X-Download-Options: [noopen] 222 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
121 X-Frame-Options: [SAMEORIGIN] 223 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
122 X-Permitted-Cross-Domain-Policies: [none] 224 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
123 X-Request-Id: [b88f3cc5-5dcf-450d-b343-796108296e0c] 225 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
124 X-Runtime: ['0.175824'] 226 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
125 X-XSS-Protection: [1; mode=block] 227 worker-src ''self'' blob: http://localhost:3000'
126 content-length: ['1363'] 228 Content-Type:
127 status: {code: 200, message: OK} 229 - application/json; charset=utf-8
230 ETag:
231 - W/"bb4f63c62b4f64e26a13822164a8e320"
232 Referrer-Policy:
233 - strict-origin-when-cross-origin
234 Transfer-Encoding:
235 - chunked
236 Vary:
237 - Accept, Origin
238 X-Content-Type-Options:
239 - nosniff
240 X-Download-Options:
241 - noopen
242 X-Frame-Options:
243 - SAMEORIGIN
244 X-Permitted-Cross-Domain-Policies:
245 - none
246 X-Request-Id:
247 - 88396cc6-80a4-4007-a18e-edd5f44c8e61
248 X-Runtime:
249 - '0.028626'
250 X-XSS-Protection:
251 - 1; mode=block
252 status:
253 code: 200
254 message: OK
128version: 1 255version: 1
Powered by cgit v1.2.3 (git 2.41.0)