diff options
Diffstat (limited to 'tests/cassettes/test_account_lookup.yaml')
-rw-r--r-- | tests/cassettes/test_account_lookup.yaml | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/tests/cassettes/test_account_lookup.yaml b/tests/cassettes/test_account_lookup.yaml index 4e4cb66..212b055 100644 --- a/tests/cassettes/test_account_lookup.yaml +++ b/tests/cassettes/test_account_lookup.yaml | |||
@@ -16,9 +16,9 @@ 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":"109367691239664003","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 19 | string: '{"id":"109383664973470793","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
20 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00:00:00.000Z","note":"\u003cp\u003eI | 20 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"\u003cp\u003eI |
21 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","header":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2022-11-19","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I | 21 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","header":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","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":"I |
22 | walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"follow_requests_count":0},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}' | 22 | walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"follow_requests_count":0},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}' |
23 | headers: | 23 | headers: |
24 | Cache-Control: | 24 | Cache-Control: |
@@ -26,7 +26,7 @@ interactions: | |||
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-BFp5TFTZKJXfuWdJG0Dffg==''; | 29 | style-src ''self'' http://localhost:3000 ''nonce-64eekm290QjEmkM4p/AAvQ==''; |
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/"7689ffdd218597a0f428b5be64ef3cde" | 39 | - W/"7e2f6a7ad1daa84cfd3683dd6a47befd" |
40 | Referrer-Policy: | 40 | Referrer-Policy: |
41 | - strict-origin-when-cross-origin | 41 | - strict-origin-when-cross-origin |
42 | Transfer-Encoding: | 42 | Transfer-Encoding: |
@@ -52,9 +52,9 @@ interactions: | |||
52 | X-Permitted-Cross-Domain-Policies: | 52 | X-Permitted-Cross-Domain-Policies: |
53 | - none | 53 | - none |
54 | X-Request-Id: | 54 | X-Request-Id: |
55 | - a978de19-ac3c-4987-9287-6104071a0300 | 55 | - 888b13cb-f050-4634-b72e-86d8c9fded47 |
56 | X-Runtime: | 56 | X-Runtime: |
57 | - '0.013788' | 57 | - '0.013188' |
58 | X-XSS-Protection: | 58 | X-XSS-Protection: |
59 | - 1; mode=block | 59 | - 1; mode=block |
60 | status: | 60 | status: |
@@ -84,7 +84,7 @@ interactions: | |||
84 | Content-Security-Policy: | 84 | Content-Security-Policy: |
85 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 85 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
86 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 86 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
87 | style-src ''self'' http://localhost:3000 ''nonce-7vDAtmc5a+Hpnz0nGwsZzQ==''; | 87 | style-src ''self'' http://localhost:3000 ''nonce-6P6X4Xhc814ESwfV+J9yMQ==''; |
88 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 88 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
89 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 89 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
90 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 90 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -108,9 +108,9 @@ interactions: | |||
108 | X-Permitted-Cross-Domain-Policies: | 108 | X-Permitted-Cross-Domain-Policies: |
109 | - none | 109 | - none |
110 | X-Request-Id: | 110 | X-Request-Id: |
111 | - 27470a80-42d3-463c-aa84-3eab285b09c4 | 111 | - cd08285c-c5ee-49b5-a526-2734c9a012eb |
112 | X-Runtime: | 112 | X-Runtime: |
113 | - '0.012994' | 113 | - '0.012189' |
114 | X-XSS-Protection: | 114 | X-XSS-Protection: |
115 | - 1; mode=block | 115 | - 1; mode=block |
116 | status: | 116 | status: |
@@ -133,16 +133,16 @@ interactions: | |||
133 | uri: http://localhost:3000/api/v1/accounts/lookup?acct=mastodonpy_test | 133 | uri: http://localhost:3000/api/v1/accounts/lookup?acct=mastodonpy_test |
134 | response: | 134 | response: |
135 | body: | 135 | body: |
136 | string: '{"id":"109367691239664003","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 136 | string: '{"id":"109383664973470793","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
137 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00:00:00.000Z","note":"\u003cp\u003eI | 137 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"\u003cp\u003eI |
138 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","header":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2022-11-19","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}' | 138 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","header":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}' |
139 | headers: | 139 | headers: |
140 | Cache-Control: | 140 | Cache-Control: |
141 | - no-store | 141 | - no-store |
142 | Content-Security-Policy: | 142 | Content-Security-Policy: |
143 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 143 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
144 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 144 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
145 | style-src ''self'' http://localhost:3000 ''nonce-lMrIltoTtYruROZG/YfosA==''; | 145 | style-src ''self'' http://localhost:3000 ''nonce-IAPYPQ5fBCqwECCCbkcUQg==''; |
146 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 146 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
147 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 147 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
148 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 148 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -152,7 +152,7 @@ interactions: | |||
152 | Content-Type: | 152 | Content-Type: |
153 | - application/json; charset=utf-8 | 153 | - application/json; charset=utf-8 |
154 | ETag: | 154 | ETag: |
155 | - W/"67fd890cb7da4386a805b32a4c2269a0" | 155 | - W/"887f2b77fa0b98c64e31d15ab70bb4ce" |
156 | Referrer-Policy: | 156 | Referrer-Policy: |
157 | - strict-origin-when-cross-origin | 157 | - strict-origin-when-cross-origin |
158 | Transfer-Encoding: | 158 | Transfer-Encoding: |
@@ -168,9 +168,9 @@ interactions: | |||
168 | X-Permitted-Cross-Domain-Policies: | 168 | X-Permitted-Cross-Domain-Policies: |
169 | - none | 169 | - none |
170 | X-Request-Id: | 170 | X-Request-Id: |
171 | - 830a8909-3924-49b8-ab8a-582f12c50ccc | 171 | - 7c1061c5-2e7a-4e39-8d6c-dd26400b26ee |
172 | X-Runtime: | 172 | X-Runtime: |
173 | - '0.011752' | 173 | - '0.011648' |
174 | X-XSS-Protection: | 174 | X-XSS-Protection: |
175 | - 1; mode=block | 175 | - 1; mode=block |
176 | status: | 176 | status: |
@@ -193,16 +193,16 @@ interactions: | |||
193 | uri: http://localhost:3000/api/v1/accounts/lookup?acct=mastodonpy_test%40localhost%3A3000 | 193 | uri: http://localhost:3000/api/v1/accounts/lookup?acct=mastodonpy_test%40localhost%3A3000 |
194 | response: | 194 | response: |
195 | body: | 195 | body: |
196 | string: '{"id":"109367691239664003","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 196 | string: '{"id":"109383664973470793","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
197 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00:00:00.000Z","note":"\u003cp\u003eI | 197 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"\u003cp\u003eI |
198 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","header":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2022-11-19","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}' | 198 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","header":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}' |
199 | headers: | 199 | headers: |
200 | Cache-Control: | 200 | Cache-Control: |
201 | - no-store | 201 | - no-store |
202 | Content-Security-Policy: | 202 | Content-Security-Policy: |
203 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 203 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
204 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 204 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
205 | style-src ''self'' http://localhost:3000 ''nonce-LEx5kviB+3PvoddNWtxoag==''; | 205 | style-src ''self'' http://localhost:3000 ''nonce-PaZuc01sjedjmnspi8rQmg==''; |
206 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 206 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
207 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 207 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
208 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 208 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -212,7 +212,7 @@ interactions: | |||
212 | Content-Type: | 212 | Content-Type: |
213 | - application/json; charset=utf-8 | 213 | - application/json; charset=utf-8 |
214 | ETag: | 214 | ETag: |
215 | - W/"67fd890cb7da4386a805b32a4c2269a0" | 215 | - W/"887f2b77fa0b98c64e31d15ab70bb4ce" |
216 | Referrer-Policy: | 216 | Referrer-Policy: |
217 | - strict-origin-when-cross-origin | 217 | - strict-origin-when-cross-origin |
218 | Transfer-Encoding: | 218 | Transfer-Encoding: |
@@ -228,9 +228,9 @@ interactions: | |||
228 | X-Permitted-Cross-Domain-Policies: | 228 | X-Permitted-Cross-Domain-Policies: |
229 | - none | 229 | - none |
230 | X-Request-Id: | 230 | X-Request-Id: |
231 | - 716a2308-1086-414a-81e1-66b68fcaf627 | 231 | - 74f5c196-69cb-48f7-a601-f5fd3274e3c9 |
232 | X-Runtime: | 232 | X-Runtime: |
233 | - '0.011159' | 233 | - '0.011004' |
234 | X-XSS-Protection: | 234 | X-XSS-Protection: |
235 | - 1; mode=block | 235 | - 1; mode=block |
236 | status: | 236 | status: |