aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-13 16:16:29 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-13 16:16:29 +0200
commit0e00fced99976d74e972a3c9ca5b762697840a33 (patch)
tree632f7e06d3e7d81e15f78d8821d39acf59b8301c /tests/cassettes/test_account.yaml
parentc66015a6b0655f865c45587095ca8744a9d61534 (diff)
downloadmastodon.py-0e00fced99976d74e972a3c9ca5b762697840a33.tar.gz
fix tests
Diffstat (limited to 'tests/cassettes/test_account.yaml')
-rw-r--r--tests/cassettes/test_account.yaml22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/cassettes/test_account.yaml b/tests/cassettes/test_account.yaml
index b188f9c..04166d3 100644
--- a/tests/cassettes/test_account.yaml
+++ b/tests/cassettes/test_account.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":"109336623311102204","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":"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}}'
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-TXVdHc4CjFEufzsPpSMe4w==''; 26 style-src ''self'' http://localhost:3000 ''nonce-koBJJVuD8VjwM18JRKU74A=='';
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/"18eda7d2236e4c13844c36377704d960" 36 - W/"6a1bb1cc5e6a00fe88fe1b6ab4bd1749"
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 - da79ffff-3771-43ba-b1fc-fa3a6b56fc04 52 - 015b53d7-b639-4647-b12d-2c23ad5d877c
53 X-Runtime: 53 X-Runtime:
54 - '0.040212' 54 - '0.224357'
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/109336623311102204 74 uri: http://localhost:3000/api/v1/accounts/109336899193569236
75 response: 75 response:
76 body: 76 body:
77 string: '{"id":"109336623311102204","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,"emojis":[],"fields":[]}' 77 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,"emojis":[],"fields":[]}'
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-WVx4tRAOn8lERQr6gPSGGQ==''; 84 style-src ''self'' http://localhost:3000 ''nonce-gp4V9vcH8SqfFN/aVKt+4A=='';
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/"a2535c7858f761dea6a8d2840a562a3a" 94 - W/"67175b1b601fc3842624da46f7cc2ae8"
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 - ffd55151-318d-4031-8b09-3e0ff74feaeb 110 - fec693d7-21aa-4cd2-aff9-e12903000f73
111 X-Runtime: 111 X-Runtime:
112 - '0.010413' 112 - '0.013600'
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)