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_relationships.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_relationships.yaml')
-rw-r--r--tests/cassettes/test_account_relationships.yaml22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/cassettes/test_account_relationships.yaml b/tests/cassettes/test_account_relationships.yaml
index eed7f57..62c1c5c 100644
--- a/tests/cassettes/test_account_relationships.yaml
+++ b/tests/cassettes/test_account_relationships.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":"109336899193569236","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test","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":"-99","name":"","permissions":"65536","color":"","highlighted":false}}' 19 string: '{"id":"109337440686176140","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test","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":"-99","name":"","permissions":"65536","color":"","highlighted":false}}'
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-+jEvo09/bxYAMK7YNwayaA==''; 26 style-src ''self'' http://localhost:3000 ''nonce-IeTxX6ZPpbbKA/OQ+4ekfg=='';
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/"6a1bb1cc5e6a00fe88fe1b6ab4bd1749" 36 - W/"d2cab5b3aa517843f533e7d948c90087"
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 - 45a53340-8b67-4d00-a895-8b406df1bd46 52 - d1586ee6-bc91-4aef-ac03-bced57ac93c1
53 X-Runtime: 53 X-Runtime:
54 - '0.011090' 54 - '0.011998'
55 X-XSS-Protection: 55 X-XSS-Protection:
56 - 1; mode=block 56 - 1; mode=block
57 status: 57 status:
@@ -71,17 +71,17 @@ interactions:
71 User-Agent: 71 User-Agent:
72 - tests/v311 72 - tests/v311
73 method: GET 73 method: GET
74 uri: http://localhost:3000/api/v1/accounts/relationships?id=109336899193569236 74 uri: http://localhost:3000/api/v1/accounts/relationships?id=109337440686176140
75 response: 75 response:
76 body: 76 body:
77 string: '[{"id":"109336899193569236","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":""}]' 77 string: '[{"id":"109337440686176140","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":""}]'
78 headers: 78 headers:
79 Cache-Control: 79 Cache-Control:
80 - no-store 80 - no-store
81 Content-Security-Policy: 81 Content-Security-Policy:
82 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 82 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
83 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 83 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
84 style-src ''self'' http://localhost:3000 ''nonce-lFnVhfZ/J4Wu1hjlgd5eXg==''; 84 style-src ''self'' http://localhost:3000 ''nonce-CAGVuE5jX0B59B5SlZfoQQ=='';
85 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 85 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
86 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 86 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
87 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 87 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -91,7 +91,7 @@ interactions:
91 Content-Type: 91 Content-Type:
92 - application/json; charset=utf-8 92 - application/json; charset=utf-8
93 ETag: 93 ETag:
94 - W/"f6451a231c5132c170cd75346b95ce7a" 94 - W/"64baf760b06e1e3475005af103fc5fd3"
95 Referrer-Policy: 95 Referrer-Policy:
96 - strict-origin-when-cross-origin 96 - strict-origin-when-cross-origin
97 Transfer-Encoding: 97 Transfer-Encoding:
@@ -107,9 +107,9 @@ interactions:
107 X-Permitted-Cross-Domain-Policies: 107 X-Permitted-Cross-Domain-Policies:
108 - none 108 - none
109 X-Request-Id: 109 X-Request-Id:
110 - 2176ddad-4d26-48ea-84fd-c1328841cdb6 110 - 322f7084-07fb-4607-a972-bdc5ab8f63ad
111 X-Runtime: 111 X-Runtime:
112 - '0.016752' 112 - '0.018169'
113 X-XSS-Protection: 113 X-XSS-Protection:
114 - 1; mode=block 114 - 1; mode=block
115 status: 115 status:
Powered by cgit v1.2.3 (git 2.41.0)