aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_log_in_password.yaml')
-rw-r--r--tests/cassettes/test_log_in_password.yaml70
1 files changed, 65 insertions, 5 deletions
diff --git a/tests/cassettes/test_log_in_password.yaml b/tests/cassettes/test_log_in_password.yaml
index 9670710..34d4939 100644
--- a/tests/cassettes/test_log_in_password.yaml
+++ b/tests/cassettes/test_log_in_password.yaml
@@ -19,14 +19,14 @@ interactions:
19 response: 19 response:
20 body: 20 body:
21 string: '{"access_token":"__MASTODON_PY_TEST_ACCESS_TOKEN_3","token_type":"Bearer","scope":"read 21 string: '{"access_token":"__MASTODON_PY_TEST_ACCESS_TOKEN_3","token_type":"Bearer","scope":"read
22 write follow push","created_at":1668825732}' 22 write follow push","created_at":1669069472}'
23 headers: 23 headers:
24 Cache-Control: 24 Cache-Control:
25 - no-store 25 - no-store
26 Content-Security-Policy: 26 Content-Security-Policy:
27 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 27 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
28 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 28 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
29 style-src ''self'' http://localhost:3000 ''nonce-e8cW+Myx+40M4OGQuLGNdw==''; 29 style-src ''self'' http://localhost:3000 ''nonce-TCv7AVemIImWlE81df+ntQ=='';
30 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 30 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
31 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 31 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
32 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 32 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -36,7 +36,7 @@ interactions:
36 Content-Type: 36 Content-Type:
37 - application/json; charset=utf-8 37 - application/json; charset=utf-8
38 ETag: 38 ETag:
39 - W/"51de893c1702432905199a2dfc13b11b" 39 - W/"2f20b949ed12ddfc15861ec448b5551f"
40 Pragma: 40 Pragma:
41 - no-cache 41 - no-cache
42 Referrer-Policy: 42 Referrer-Policy:
@@ -54,9 +54,69 @@ interactions:
54 X-Permitted-Cross-Domain-Policies: 54 X-Permitted-Cross-Domain-Policies:
55 - none 55 - none
56 X-Request-Id: 56 X-Request-Id:
57 - cde7fc60-d4ba-4e74-850a-07ea38ebd0f9 57 - c5666118-43f5-40d3-8b27-e5a8aa5fb39e
58 X-Runtime: 58 X-Runtime:
59 - '0.061872' 59 - '0.056585'
60 X-XSS-Protection:
61 - 1; mode=block
62 status:
63 code: 200
64 message: OK
65- request:
66 body: null
67 headers:
68 Accept:
69 - '*/*'
70 Accept-Encoding:
71 - gzip, deflate
72 Authorization:
73 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_3
74 Connection:
75 - keep-alive
76 User-Agent:
77 - tests/v311
78 method: GET
79 uri: http://localhost:3000/api/v1/instance/
80 response:
81 body:
82 string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.0.0rc2","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":1,"domain_count":0},"thumbnail":"http://localhost:3000/packs/media/images/preview-6399aebd96ccf025654e2977454f168f.png","languages":["en"],"registrations":true,"approval_required":false,"invites_enabled":true,"configuration":{"accounts":{"max_featured_tags":10},"statuses":{"max_characters":500,"max_media_attachments":4,"characters_reserved_per_url":23},"media_attachments":{"supported_mime_types":["image/jpeg","image/png","image/gif","image/heic","image/heif","image/webp","image/avif","video/webm","video/mp4","video/quicktime","video/ogg","audio/wave","audio/wav","audio/x-wav","audio/x-pn-wave","audio/vnd.wave","audio/ogg","audio/vorbis","audio/mpeg","audio/mp3","audio/webm","audio/flac","audio/aac","audio/m4a","audio/x-m4a","audio/mp4","audio/3gpp","video/x-ms-asf"],"image_size_limit":10485760,"image_matrix_limit":16777216,"video_size_limit":41943040,"video_frame_rate_limit":60,"video_matrix_limit":2304000},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746}},"contact_account":null,"rules":[]}'
83 headers:
84 Cache-Control:
85 - max-age=180, public
86 Content-Security-Policy:
87 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
88 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
89 style-src ''self'' http://localhost:3000 ''nonce-HnJLKmQ1By73ype7Lq//tg=='';
90 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
91 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
92 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
93 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
94 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
95 worker-src ''self'' blob: http://localhost:3000'
96 Content-Type:
97 - application/json; charset=utf-8
98 Date:
99 - Mon, 21 Nov 2022 20:24:59 GMT
100 ETag:
101 - W/"bf317ffab393d8d1da7195269f28968a"
102 Referrer-Policy:
103 - strict-origin-when-cross-origin
104 Transfer-Encoding:
105 - chunked
106 Vary:
107 - Accept, Origin
108 X-Content-Type-Options:
109 - nosniff
110 X-Download-Options:
111 - noopen
112 X-Frame-Options:
113 - SAMEORIGIN
114 X-Permitted-Cross-Domain-Policies:
115 - none
116 X-Request-Id:
117 - 2b7acec9-a10d-4d16-8197-9a6e3a1282c1
118 X-Runtime:
119 - '0.030419'
60 X-XSS-Protection: 120 X-XSS-Protection:
61 - 1; mode=block 121 - 1; mode=block
62 status: 122 status:
Powered by cgit v1.2.3 (git 2.41.0)