aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_account_block_unblock.yaml')
-rw-r--r--tests/cassettes/test_account_block_unblock.yaml82
1 files changed, 70 insertions, 12 deletions
diff --git a/tests/cassettes/test_account_block_unblock.yaml b/tests/cassettes/test_account_block_unblock.yaml
index a492e68..aea2c90 100644
--- a/tests/cassettes/test_account_block_unblock.yaml
+++ b/tests/cassettes/test_account_block_unblock.yaml
@@ -7,6 +7,64 @@ interactions:
7 Accept-Encoding: 7 Accept-Encoding:
8 - gzip, deflate 8 - gzip, deflate
9 Authorization: 9 Authorization:
10 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2
11 Connection:
12 - keep-alive
13 User-Agent:
14 - tests/v311
15 method: GET
16 uri: http://localhost:3000/api/v1/accounts/verify_credentials
17 response:
18 body:
19 string: '{"id":"109336623096259500","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:
21 Cache-Control:
22 - no-store
23 Content-Security-Policy:
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;
26 style-src ''self'' http://localhost:3000 ''nonce-wQPZxoRHh1Sx2JwE0YEr5g=='';
27 media-src ''self'' https: data: http://localhost:3000; frame-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
30 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
31 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
32 worker-src ''self'' blob: http://localhost:3000'
33 Content-Type:
34 - application/json; charset=utf-8
35 ETag:
36 - W/"045b82c55c495fceaaae2b0dc2b6d8db"
37 Referrer-Policy:
38 - strict-origin-when-cross-origin
39 Transfer-Encoding:
40 - chunked
41 Vary:
42 - Accept, Origin
43 X-Content-Type-Options:
44 - nosniff
45 X-Download-Options:
46 - noopen
47 X-Frame-Options:
48 - SAMEORIGIN
49 X-Permitted-Cross-Domain-Policies:
50 - none
51 X-Request-Id:
52 - 94b24adf-36e2-4a67-b36e-c2b6cec49d62
53 X-Runtime:
54 - '0.011970'
55 X-XSS-Protection:
56 - 1; mode=block
57 status:
58 code: 200
59 message: OK
60- request:
61 body: null
62 headers:
63 Accept:
64 - '*/*'
65 Accept-Encoding:
66 - gzip, deflate
67 Authorization:
10 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN 68 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
11 Connection: 69 Connection:
12 - keep-alive 70 - keep-alive
@@ -15,17 +73,17 @@ interactions:
15 User-Agent: 73 User-Agent:
16 - tests/v311 74 - tests/v311
17 method: POST 75 method: POST
18 uri: http://localhost:3000/api/v1/accounts/1234567890123457/block 76 uri: http://localhost:3000/api/v1/accounts/109336623096259500/block
19 response: 77 response:
20 body: 78 body:
21 string: '{"id":"1234567890123457","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":"109336623096259500","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":""}'
22 headers: 80 headers:
23 Cache-Control: 81 Cache-Control:
24 - no-store 82 - no-store
25 Content-Security-Policy: 83 Content-Security-Policy:
26 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 84 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
27 ''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;
28 style-src ''self'' http://localhost:3000 ''nonce-o3m1mPDdDjPr48Bz4TafGQ==''; 86 style-src ''self'' http://localhost:3000 ''nonce-kmle48j/3xVPuzbFh5EdJA=='';
29 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 87 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
30 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 88 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
31 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 89 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -35,7 +93,7 @@ interactions:
35 Content-Type: 93 Content-Type:
36 - application/json; charset=utf-8 94 - application/json; charset=utf-8
37 ETag: 95 ETag:
38 - W/"d052ad9fec41d112bf876acf058a0afa" 96 - W/"ca4303e759c5001f8af1161336791d79"
39 Referrer-Policy: 97 Referrer-Policy:
40 - strict-origin-when-cross-origin 98 - strict-origin-when-cross-origin
41 Transfer-Encoding: 99 Transfer-Encoding:
@@ -51,9 +109,9 @@ interactions:
51 X-Permitted-Cross-Domain-Policies: 109 X-Permitted-Cross-Domain-Policies:
52 - none 110 - none
53 X-Request-Id: 111 X-Request-Id:
54 - 6bebf8a3-6083-47f2-8dc3-d76a40213e7d 112 - 31b7b6ea-bebc-485a-a50f-42d5daa2dec9
55 X-Runtime: 113 X-Runtime:
56 - '0.026087' 114 - '0.019852'
57 X-XSS-Protection: 115 X-XSS-Protection:
58 - 1; mode=block 116 - 1; mode=block
59 status: 117 status:
@@ -75,17 +133,17 @@ interactions:
75 User-Agent: 133 User-Agent:
76 - tests/v311 134 - tests/v311
77 method: POST 135 method: POST
78 uri: http://localhost:3000/api/v1/accounts/1234567890123457/unblock 136 uri: http://localhost:3000/api/v1/accounts/109336623096259500/unblock
79 response: 137 response:
80 body: 138 body:
81 string: '{"id":"1234567890123457","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":"109336623096259500","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":""}'
82 headers: 140 headers:
83 Cache-Control: 141 Cache-Control:
84 - no-store 142 - no-store
85 Content-Security-Policy: 143 Content-Security-Policy:
86 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 144 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
87 ''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;
88 style-src ''self'' http://localhost:3000 ''nonce-uid/bJj/PP2h/k5oT2S4bg==''; 146 style-src ''self'' http://localhost:3000 ''nonce-KYJQ20iuM0rPW8HAC2r4MA=='';
89 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 147 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
90 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 148 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
91 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 149 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -95,7 +153,7 @@ interactions:
95 Content-Type: 153 Content-Type:
96 - application/json; charset=utf-8 154 - application/json; charset=utf-8
97 ETag: 155 ETag:
98 - W/"25b4d9d745f6bc92c8314562f7461bc8" 156 - W/"945f7c7731010ff2bfa8f3f3889c235c"
99 Referrer-Policy: 157 Referrer-Policy:
100 - strict-origin-when-cross-origin 158 - strict-origin-when-cross-origin
101 Transfer-Encoding: 159 Transfer-Encoding:
@@ -111,9 +169,9 @@ interactions:
111 X-Permitted-Cross-Domain-Policies: 169 X-Permitted-Cross-Domain-Policies:
112 - none 170 - none
113 X-Request-Id: 171 X-Request-Id:
114 - bbd711f6-9170-410c-886c-a299b8981e1a 172 - 6a193e03-8b5a-4449-90df-fdcbce18f9b4
115 X-Runtime: 173 X-Runtime:
116 - '0.018084' 174 - '0.015411'
117 X-XSS-Protection: 175 X-XSS-Protection:
118 - 1; mode=block 176 - 1; mode=block
119 status: 177 status:
Powered by cgit v1.2.3 (git 2.41.0)