aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-13 18:39:56 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-13 18:39:56 +0200
commit5215c2242dd7b87418a7c10781c2b10b35d86f46 (patch)
tree9164c3963424cc149ddd7e61561470f27f5b817a /tests/cassettes/test_account_block_unblock.yaml
parent0e00fced99976d74e972a3c9ca5b762697840a33 (diff)
downloadmastodon.py-5215c2242dd7b87418a7c10781c2b10b35d86f46.tar.gz
Fix some things in streaming and admin API for 3.3.0 support
Diffstat (limited to 'tests/cassettes/test_account_block_unblock.yaml')
-rw-r--r--tests/cassettes/test_account_block_unblock.yaml34
1 files changed, 17 insertions, 17 deletions
diff --git a/tests/cassettes/test_account_block_unblock.yaml b/tests/cassettes/test_account_block_unblock.yaml
index d43d775..6aadb23 100644
--- a/tests/cassettes/test_account_block_unblock.yaml
+++ b/tests/cassettes/test_account_block_unblock.yaml
@@ -16,14 +16,14 @@ interactions:
16 uri: http://localhost:3000/api/v1/accounts/verify_credentials 16 uri: http://localhost:3000/api/v1/accounts/verify_credentials
17 response: 17 response:
18 body: 18 body:
19 string: '{"id":"109336898971915318","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00: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}}' 19 string: '{"id":"109337440467895233","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00: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}}'
20 headers: 20 headers:
21 Cache-Control: 21 Cache-Control:
22 - no-store 22 - no-store
23 Content-Security-Policy: 23 Content-Security-Policy:
24 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 24 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
25 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 25 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
26 style-src ''self'' http://localhost:3000 ''nonce-uyXxSsZqoZ3XOgkuIjbWXg==''; 26 style-src ''self'' http://localhost:3000 ''nonce-ix4co9GwbPMPm5AA5vAweQ=='';
27 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 27 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
28 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 28 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
29 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 29 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -33,7 +33,7 @@ interactions:
33 Content-Type: 33 Content-Type:
34 - application/json; charset=utf-8 34 - application/json; charset=utf-8
35 ETag: 35 ETag:
36 - W/"42368453c18e76d233e5f4ac57d3de69" 36 - W/"91cc35ca6300f8fcd18839f0f85f1152"
37 Referrer-Policy: 37 Referrer-Policy:
38 - strict-origin-when-cross-origin 38 - strict-origin-when-cross-origin
39 Transfer-Encoding: 39 Transfer-Encoding:
@@ -49,9 +49,9 @@ interactions:
49 X-Permitted-Cross-Domain-Policies: 49 X-Permitted-Cross-Domain-Policies:
50 - none 50 - none
51 X-Request-Id: 51 X-Request-Id:
52 - 5649b15f-d226-439b-a945-46ac122f9600 52 - 679d9222-d23e-4361-b943-219d3953d46e
53 X-Runtime: 53 X-Runtime:
54 - '0.012219' 54 - '0.011919'
55 X-XSS-Protection: 55 X-XSS-Protection:
56 - 1; mode=block 56 - 1; mode=block
57 status: 57 status:
@@ -73,17 +73,17 @@ interactions:
73 User-Agent: 73 User-Agent:
74 - tests/v311 74 - tests/v311
75 method: POST 75 method: POST
76 uri: http://localhost:3000/api/v1/accounts/109336898971915318/block 76 uri: http://localhost:3000/api/v1/accounts/109337440467895233/block
77 response: 77 response:
78 body: 78 body:
79 string: '{"id":"109336898971915318","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":true,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}' 79 string: '{"id":"109337440467895233","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":true,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}'
80 headers: 80 headers:
81 Cache-Control: 81 Cache-Control:
82 - no-store 82 - no-store
83 Content-Security-Policy: 83 Content-Security-Policy:
84 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 84 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
85 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 85 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
86 style-src ''self'' http://localhost:3000 ''nonce-XDrE3X+GEVpRLuMsTUMA/Q==''; 86 style-src ''self'' http://localhost:3000 ''nonce-LJtONwh/6bmMsRGNv5QFSQ=='';
87 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 87 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
88 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 88 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
89 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 89 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -93,7 +93,7 @@ interactions:
93 Content-Type: 93 Content-Type:
94 - application/json; charset=utf-8 94 - application/json; charset=utf-8
95 ETag: 95 ETag:
96 - W/"3583f5560406441b965ce02068249015" 96 - W/"d793df625e7199b85701d1d9ffeae421"
97 Referrer-Policy: 97 Referrer-Policy:
98 - strict-origin-when-cross-origin 98 - strict-origin-when-cross-origin
99 Transfer-Encoding: 99 Transfer-Encoding:
@@ -109,9 +109,9 @@ interactions:
109 X-Permitted-Cross-Domain-Policies: 109 X-Permitted-Cross-Domain-Policies:
110 - none 110 - none
111 X-Request-Id: 111 X-Request-Id:
112 - 900f8fc7-b8b4-4c7b-9b65-d805a03642d2 112 - 49eb0848-0627-439a-a0a6-6176d01f6df6
113 X-Runtime: 113 X-Runtime:
114 - '0.020168' 114 - '0.021255'
115 X-XSS-Protection: 115 X-XSS-Protection:
116 - 1; mode=block 116 - 1; mode=block
117 status: 117 status:
@@ -133,17 +133,17 @@ interactions:
133 User-Agent: 133 User-Agent:
134 - tests/v311 134 - tests/v311
135 method: POST 135 method: POST
136 uri: http://localhost:3000/api/v1/accounts/109336898971915318/unblock 136 uri: http://localhost:3000/api/v1/accounts/109337440467895233/unblock
137 response: 137 response:
138 body: 138 body:
139 string: '{"id":"109336898971915318","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}' 139 string: '{"id":"109337440467895233","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}'
140 headers: 140 headers:
141 Cache-Control: 141 Cache-Control:
142 - no-store 142 - no-store
143 Content-Security-Policy: 143 Content-Security-Policy:
144 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 144 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
145 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 145 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
146 style-src ''self'' http://localhost:3000 ''nonce-jt2Oc5V6bTcDutPm1tVggg==''; 146 style-src ''self'' http://localhost:3000 ''nonce-T6MP6vrTHzh9AV4qStzfVg=='';
147 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 147 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
148 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 148 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
149 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 149 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -153,7 +153,7 @@ interactions:
153 Content-Type: 153 Content-Type:
154 - application/json; charset=utf-8 154 - application/json; charset=utf-8
155 ETag: 155 ETag:
156 - W/"b9dd6d5b54697012fa8e870d86d958d3" 156 - W/"214f278429bf712708e952ee2355bf5e"
157 Referrer-Policy: 157 Referrer-Policy:
158 - strict-origin-when-cross-origin 158 - strict-origin-when-cross-origin
159 Transfer-Encoding: 159 Transfer-Encoding:
@@ -169,9 +169,9 @@ interactions:
169 X-Permitted-Cross-Domain-Policies: 169 X-Permitted-Cross-Domain-Policies:
170 - none 170 - none
171 X-Request-Id: 171 X-Request-Id:
172 - c481212a-9700-4403-9337-2d66289370a6 172 - 8af3de42-f69d-4f68-b452-52bbd15cf9c0
173 X-Runtime: 173 X-Runtime:
174 - '0.023003' 174 - '0.014651'
175 X-XSS-Protection: 175 X-XSS-Protection:
176 - 1; mode=block 176 - 1; mode=block
177 status: 177 status:
Powered by cgit v1.2.3 (git 2.41.0)