diff options
Diffstat (limited to 'tests/cassettes/test_log_in_password_to_file.yaml')
-rw-r--r-- | tests/cassettes/test_log_in_password_to_file.yaml | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/tests/cassettes/test_log_in_password_to_file.yaml b/tests/cassettes/test_log_in_password_to_file.yaml index 4737119..7ceacfb 100644 --- a/tests/cassettes/test_log_in_password_to_file.yaml +++ b/tests/cassettes/test_log_in_password_to_file.yaml | |||
@@ -18,15 +18,15 @@ interactions: | |||
18 | uri: http://localhost:3000/oauth/token | 18 | uri: http://localhost:3000/oauth/token |
19 | response: | 19 | response: |
20 | body: | 20 | body: |
21 | string: '{"access_token":"FqJVFO8ln66-Bii2Ck1VKZ_sbKE-rxp2TvTDE2eO9Ww","token_type":"Bearer","scope":"read | 21 | string: '{"access_token":"8Urbdf74c9iWPCxY3FQ_ThU8tQvR4w4nbE41EPWUKk8","token_type":"Bearer","scope":"read |
22 | write follow push","created_at":1669062300}' | 22 | write follow push","created_at":1669924029}' |
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-gVPSd/S/57q5V6Iq10S5Yg==''; | 29 | style-src ''self'' http://localhost:3000 ''nonce-G6JGMa1rq8Lm7AQUKqs8TA==''; |
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/"01955ddf3d96c9c9f4856825a0781218" | 39 | - W/"95000a91f33b58e8120b1fe5e03a9ecf" |
40 | Pragma: | 40 | Pragma: |
41 | - no-cache | 41 | - no-cache |
42 | Referrer-Policy: | 42 | Referrer-Policy: |
@@ -54,9 +54,9 @@ 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 | - 21d2203c-0c7c-495f-83a2-309ebec654cb | 57 | - 634513d3-c64b-47d5-bdae-96719a4eaf9b |
58 | X-Runtime: | 58 | X-Runtime: |
59 | - '0.055525' | 59 | - '0.075801' |
60 | X-XSS-Protection: | 60 | X-XSS-Protection: |
61 | - 1; mode=block | 61 | - 1; mode=block |
62 | status: | 62 | status: |
@@ -70,7 +70,7 @@ interactions: | |||
70 | Accept-Encoding: | 70 | Accept-Encoding: |
71 | - gzip, deflate | 71 | - gzip, deflate |
72 | Authorization: | 72 | Authorization: |
73 | - Bearer FqJVFO8ln66-Bii2Ck1VKZ_sbKE-rxp2TvTDE2eO9Ww | 73 | - Bearer 8Urbdf74c9iWPCxY3FQ_ThU8tQvR4w4nbE41EPWUKk8 |
74 | Connection: | 74 | Connection: |
75 | - keep-alive | 75 | - keep-alive |
76 | User-Agent: | 76 | User-Agent: |
@@ -79,14 +79,14 @@ interactions: | |||
79 | uri: http://localhost:3000/api/v1/instance/ | 79 | uri: http://localhost:3000/api/v1/instance/ |
80 | response: | 80 | response: |
81 | body: | 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":[]}' | 82 | string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.0.2","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":1,"domain_count":1},"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: | 83 | headers: |
84 | Cache-Control: | 84 | Cache-Control: |
85 | - max-age=180, public | 85 | - max-age=180, public |
86 | Content-Security-Policy: | 86 | Content-Security-Policy: |
87 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 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; | 88 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
89 | style-src ''self'' http://localhost:3000 ''nonce-HQspDM6YYUj7ry/sxtRwaA==''; | 89 | style-src ''self'' http://localhost:3000 ''nonce-ci/PTOt+S4lz8k+V2xJ8ZQ==''; |
90 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 90 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
91 | https:; manifest-src ''self'' http://localhost:3000; connect-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 | 92 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -96,9 +96,9 @@ interactions: | |||
96 | Content-Type: | 96 | Content-Type: |
97 | - application/json; charset=utf-8 | 97 | - application/json; charset=utf-8 |
98 | Date: | 98 | Date: |
99 | - Mon, 21 Nov 2022 20:25:00 GMT | 99 | - Thu, 01 Dec 2022 19:47:09 GMT |
100 | ETag: | 100 | ETag: |
101 | - W/"bf317ffab393d8d1da7195269f28968a" | 101 | - W/"f3d8b9e0e7a52fd79c73f5f6ac26b4dd" |
102 | Referrer-Policy: | 102 | Referrer-Policy: |
103 | - strict-origin-when-cross-origin | 103 | - strict-origin-when-cross-origin |
104 | Transfer-Encoding: | 104 | Transfer-Encoding: |
@@ -114,9 +114,9 @@ interactions: | |||
114 | X-Permitted-Cross-Domain-Policies: | 114 | X-Permitted-Cross-Domain-Policies: |
115 | - none | 115 | - none |
116 | X-Request-Id: | 116 | X-Request-Id: |
117 | - e53747bb-32a0-4a9f-815f-23f10ec82488 | 117 | - 26a2ab1e-9075-4329-97ea-e8181941211c |
118 | X-Runtime: | 118 | X-Runtime: |
119 | - '0.018548' | 119 | - '0.024563' |
120 | X-XSS-Protection: | 120 | X-XSS-Protection: |
121 | - 1; mode=block | 121 | - 1; mode=block |
122 | status: | 122 | status: |
@@ -130,7 +130,7 @@ interactions: | |||
130 | Accept-Encoding: | 130 | Accept-Encoding: |
131 | - gzip, deflate | 131 | - gzip, deflate |
132 | Authorization: | 132 | Authorization: |
133 | - Bearer FqJVFO8ln66-Bii2Ck1VKZ_sbKE-rxp2TvTDE2eO9Ww | 133 | - Bearer 8Urbdf74c9iWPCxY3FQ_ThU8tQvR4w4nbE41EPWUKk8 |
134 | Connection: | 134 | Connection: |
135 | - keep-alive | 135 | - keep-alive |
136 | User-Agent: | 136 | User-Agent: |
@@ -139,14 +139,14 @@ interactions: | |||
139 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 139 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
140 | response: | 140 | response: |
141 | body: | 141 | body: |
142 | string: '{"id":"109383665090212021","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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":"2022-11-21","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}}' | 142 | string: '{"id":"109440137849431891","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-12-01T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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":"2022-12-01","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}}' |
143 | headers: | 143 | headers: |
144 | Cache-Control: | 144 | Cache-Control: |
145 | - no-store | 145 | - no-store |
146 | Content-Security-Policy: | 146 | Content-Security-Policy: |
147 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 147 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
148 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 148 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
149 | style-src ''self'' http://localhost:3000 ''nonce-0wTXS9qor2G6JHhLgpDCKA==''; | 149 | style-src ''self'' http://localhost:3000 ''nonce-6HENJhNvWRFklzfIFpI4ew==''; |
150 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 150 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
151 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 151 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
152 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 152 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -156,7 +156,7 @@ interactions: | |||
156 | Content-Type: | 156 | Content-Type: |
157 | - application/json; charset=utf-8 | 157 | - application/json; charset=utf-8 |
158 | ETag: | 158 | ETag: |
159 | - W/"0de8ef1474de038f23bea37330c5b2b1" | 159 | - W/"602a123ba9fa2adef21e870cf4e46d79" |
160 | Referrer-Policy: | 160 | Referrer-Policy: |
161 | - strict-origin-when-cross-origin | 161 | - strict-origin-when-cross-origin |
162 | Transfer-Encoding: | 162 | Transfer-Encoding: |
@@ -172,9 +172,9 @@ interactions: | |||
172 | X-Permitted-Cross-Domain-Policies: | 172 | X-Permitted-Cross-Domain-Policies: |
173 | - none | 173 | - none |
174 | X-Request-Id: | 174 | X-Request-Id: |
175 | - 05d6111a-3743-4f42-9dca-0a5a7ecdc77e | 175 | - e2f094b5-0b77-4519-9e2a-2a98aa868064 |
176 | X-Runtime: | 176 | X-Runtime: |
177 | - '0.011463' | 177 | - '0.011484' |
178 | X-XSS-Protection: | 178 | X-XSS-Protection: |
179 | - 1; mode=block | 179 | - 1; mode=block |
180 | status: | 180 | status: |